Re: [twsocket] Connecting and Disconnecting

2008-04-02 Thread DZ-Jay
Éric Fleming Bonilha wrote: > Hello Wilfried, > > Ok, I will make that way, but do you know the implications of doing the way > I said? It can cause the host to make some half-closed connections? The implication is that the TWSocket control may not have entered the proper state and still be in

Re: [twsocket] Connecting and Disconnecting

2008-04-02 Thread Éric Fleming Bonilha
Sent: Wednesday, April 02, 2008 3:21 AM Subject: Re: [twsocket] Connecting and Disconnecting Hello Éric, When it is disconnected then OnSessionClose is fired. There you post a message to a custom message handler where you connect again. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/

Re: [twsocket] Connecting and Disconnecting

2008-04-01 Thread Wilfried Mestdagh
Hello Éric, When it is disconnected then OnSessionClose is fired. There you post a message to a custom message handler where you connect again. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, April 1, 2008, 22:15, Éric Fleming Bonilh

[twsocket] Connecting and Disconnecting

2008-04-01 Thread Éric Fleming Bonilha
Hello What is the implication on the TCP control of disconnecting and connecting using the same TWSocket object? what I mean is that: FSocket.Disconnect; FSocket.Addr := 'x.x.x.x'; FSocket.Port := '80'; FSocket.Connect; What is the implication of doing that on sequence?? I ask that because