I always call Receive (even if RcvdCount returns zero). When RcvdCount
returns zero then Receive returns -1 value. Is it normal?
What is property Multithreaded in TWServerSocket? Should it be set to
TRUE? In demo application property is set to FALSE and only client
sockets are set to TRUE.
Now I have no idea where is problem with service hanging. Any idea where
to look is welcome.
Dne 17.8.2011 18:18, Wilfried Mestdagh napsal(a):
If OnDataAvailable triggers then you have to try to receive data, even if
RcvdCount (wich is unreliable) returns 0. If you don't receive then
OnDataAvailable will be called again in a closed loop en that is probably what
divize projektu a inzenyringu (project and engineering division)
674 01 trebic
tel: +420 568 409 862 (811)
fax: +420 568 409 875
gsm: +420 724 461 062
eml: lukas.sk...@envinet.cz, luky.sk...@gmail.com
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be