September 22nd, 2004, 10:58 AM
I'm using the delphi6's ClientSocket, and I need to know an istruction that is corrispondent to the delphi7's IdTCPClient ReadLn:
Msg := MainForm.IdTCPClient1.ReadLn;
Using ClientSocket in delphi6 instead of idTCPClient, the compiler gives me the error (about ReadLn):'identificator not declared'
Please help me, Thank You!!!!!!
September 22nd, 2004, 12:32 PM
Try using the Socket.ReceiveText property like this:
sText := ClientSocket.Socket.ReceiveText;
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
September 23rd, 2004, 10:18 AM
Thank Scorpion, now it works!!!