>> I would like to know if this is normal to have the event
>> OnDataAvailable trigger and get a RcvdCount = 0 ?
>
> 0 length can happen, you must allow for it.

Be aware that having RcvdCount = 0 is a different issue than having Receive 
returning 0.

> Also -1 which means an error, which you can get from LastError and
> convert to ASCII with WSocketErrorDesc.

Same remark here.


--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
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