|Subject:||I'm going mad with a simple TCP connection...|
|Posted by:||Michele (giovanni.costantino…@tin.it)|
|Date:||Wed, 9 Jul 2003|
Sorry 4 my english....
I'm a very newbie with Indy and i've a big problem....(i think it's simple 4
I've 2 simple form: a client form and a server form (with server tcp
The problem is that i can't comunicate via TCP....that's my little project:
On the server side:
procedure TForm1.TCPServerExecute(AThread: TIdPeerThread);
!!!!!!!!!!!!!this hang the process!!!!!!!!!!!!
On the client form there's a TCPClient and a button (that does
procedure TForm1.TCPClientConnected(Sender: TObject);
memo.Lines.Add('Connected'); //a memo to tell me that i'm connected and
works fine (i can see the connection on the server side)
TCPClient.WriteLn('Hello world!'); // i want to send something to the
server...just to say "Hi!"
What i'm doing that doesn't work??????