Re: [twsocket] Client socket gets disconnected..

2006-08-16 Thread S S
Hi, I added an event onSessionClosed.Now my client fires this event after sending the second command to create notification channel.and shows the message client disconnected.My question is why does my client gets disconnected after sending the second command.Please suggest where am i

Re: [twsocket] Client socket gets disconnected..

2006-08-16 Thread Francois Piette
I added an event onSessionClosed.Now my client fires this event after sending the second command to create notification channel.and shows the message client disconnected.My question is why does my client gets disconnected after sending the second command.Please suggest where am i wrong?

[twsocket] Client socket gets disconnected..

2006-08-14 Thread S S
Hello Everyone, I have two units - 1)CAENUnit 2)MainUnit There is a button Start Server in my main unit which when clicked starts my server,starts my client,thereby on session connected event the client sends commands to the reader to create notification channel ,receives reply

[twsocket] Client socket gets disconnected..

2006-08-14 Thread S S
Hello Everyone, I have two units - 1)CAENUnit 2)MainUnit There is a button Start Server in my main unit which when clicked starts my server,starts my client,thereby on session connected event the client sends commands to the reader to create notification channel ,receives reply

Re: [twsocket] Client socket gets disconnected..

2006-08-14 Thread Wilfried Mestdagh
Hello, When the client close, does is generate a winsock error ? Same question for the datasocket at server side? --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Monday, August 14, 2006, 11:38, S S wrote: Hello Everyone, I have two

Re: [twsocket] Client socket gets disconnected..

2006-08-14 Thread S S
Hi, No, the client does not generate any winsock error.It just gets disconnected and even if I try connecting it again after the second send command to create notification channel it shows its state as wsconnecting and does not connect No clue where am i going wrong??? Wilfried

Re: [twsocket] Client socket gets disconnected..

2006-08-14 Thread Wilfried Mestdagh
Hello, If the client comes into the state wsConecting then after a while some event should fire. It can be the OnSessionConnected with or without a winsock error or the onSessionClosed with or without a winsock error. Please check both. Whith that information we could help more I think. ---