I'll take a look later.
Thanks for your answers. 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels
> Sent: Wednesday, July 11, 2007 6:24 PM
> To: ICS support mailing
> Subject: Re: [twsocket] OnSessionConnected not fired
> 
> Engi wrote:
> > Well,
> > 
> > How to be sure that the server is listening ?
> 
> Check WSocketServer1.State = wsListening
> 
> > How to know when server begin to listen (or not if error), after the
> > Listen() method is used ?
> 
> Yes, if Listen() failed an exception was raised so wrap this 
> call in a try-except block.
> 
> --
> Arno Garrels [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
> 
> > 
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels
> >> Sent: Wednesday, July 11, 2007 4:54 PM
> >> To: ICS support mailing
> >> Subject: Re: [twsocket] OnSessionConnected not fired
> >> 
> >> Engi wrote:
> >>> Hi,
> >>> 
> >>> I'm using a TWSocketServer in my main form.
> >>> The OnSessionClosed is always fired.
> >>> On the other hand, the OnSessionConnected is never fired, whereas 
> >>> clients can connect to my server.
> >> 
> >> There's no event OnSessionConnected triggered when TWSocket is 
> >> listening but OnSessionAvailable.
> >> This and other properties are available only since 
> TWSocketServer is 
> >> derived from TWSocket.
> >> 
> >>> I have to know when server is ready to receive IP queries.
> >>> How could I do without this event ?
> >> 
> >> Not sure what you mean, in order to check peer's IP use event on 
> >> OnClientConnected.
> >> 
> >> --
> >> Arno Garrels [TeamICS]
> >> http://www.overbyte.be/eng/overbyte/teamics.html
> >> 
> >> 
> >> --
> >> To unsubscribe or change your settings for TWSocket mailing list 
> >> please goto http://www.elists.org/mailman/listinfo/twsocket
> >> Visit our website at http://www.overbyte.be
> >> 
> >> 
> >> __________ NOD32 2392 (20070711) Information __________
> >> 
> >> This message was checked by NOD32 antivirus system.
> >> http://www.eset.com
> --
> To unsubscribe or change your settings for TWSocket mailing 
> list please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
> 
> 
> __________ NOD32 2392 (20070711) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 
> 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to