Hello Igor,

Receive can return 0 or -1. If so then just exit the event and dont
care. Yes it is normally closed or error, but in this case the 10035
TWSocket take care of it. You never have to call LastError because
TWSocket have Error code in each event.

Rgds, Wilfried

Tuesday, September 13, 2005, 13:11, Igor Pokorny wrote:

> Hello all, 
> Could someone explain what the result -1 from Receive function in
> ClientDataAvailable procedure means?
> No data, error or something else ? 
> Reading LastError after having result -1 gives the value 10035. 
> Thanks in advance 
> Igor

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