Board index » delphi » TclientSocket.OnWrite happens only once ?
Skybuck Flying
Delphi Developer |
TclientSocket.OnWrite happens only once ?2003-09-07 09:02:31 AM delphi153 Hi... I wrote a simpel client / server application. The application has a TclientSocket and a TserverSocket The application just connects to itself which should be no problem at all. First the server socket is opened. Then the client socket is opened and connects to the server. The client socket OnWrite is fired The server socket OnWrite is fired. So now the client and server socket can start writing with sendbuf... So that is what I do... Now both sockets get an OnRead event... so I read with receive buf... I was hoping that after reading.. the next OnWrite event would happen so the next buffer can be sent... However this does not happen.... ???? why ??? Thx Skybuck. |