Re: [twsocket] Newbie problems with TWSocket. (balbaro)

2007-05-20 Thread Francois PIETTE
> But then for a response > Is this correct ? > > 1) In server.DataAvailable event : server : ClientServer.sendstring > response; > 2) In Server : ClientServer.Datasent event : > server.clientserver.closedelayed It depends on the protocol you are designing. Most protocols in use (FTP, SMTP, POP3 a

Re: [twsocket] Newbie problems with TWSocket. (balbaro)

2007-05-20 Thread Wilfried Mestdagh
Hello Balbaro, > 1) connect the client > 2) in Client.SessionConnected event : send the string > 3) In Client.Datasent event : client.closedelayed No. This will not garantie that the data is arrived by the server. You can make a protocol for it, so that the server send back ACK "after" it has han

[twsocket] Newbie problems with TWSocket. (balbaro)

2007-05-20 Thread balbaro
- Original Message - From: <[EMAIL PROTECTED]> To: Sent: Sunday, May 20, 2007 2:00 PM Subject: TWSocket Digest, Vol 220, Issue 10 Hello, Thanks very much for the reply and help. So i understand... Assumed the sever is listening... In tcp proto. 1) connect the client 2) in Client.Sess