Board index » delphi » Getting the IP address of a client
h.abdullah
![]() Delphi Developer |
Thu, 28 Aug 2003 08:23:57 GMT
Getting the IP address of a client
Hi guys.
I am trying to do a program that uses a TServer socket. The program should Memo1.Lines.Add(Socket.ReceiveText); This works fine and all the incoming text is added to the memo box 1. Now I Memo2.Lines.Add(Socket.RemoteAddress); but this does not work. 1. How could I get the IP address of the client computer that has connected 2. I tried to send back some text to the client through the server by Socket.SendText('bla bla bla'); but this did not work either. Please HELLLLPPPP me. Thanks in advance for |