I need some help with using the INDY component TCPSERVER/TCPCLIENT in delphi 7.
To start off I'm trying to write text over a socket connection. So at the server end I have a line:
asender.thread.connection.writeln('test');
And at the client end:
data:=tcpclient1.readln();
But find that it will just hang.
Can anyone offer assistance.
Thanks
To start off I'm trying to write text over a socket connection. So at the server end I have a line:
asender.thread.connection.writeln('test');
And at the client end:
data:=tcpclient1.readln();
But find that it will just hang.
Can anyone offer assistance.
Thanks