Hello Jack,

> if there is data available but do not want to actually remove
> the data from twsocket's buffer. This is because I want to

You can use Pauze / Resume but there is also a very simple way to do it,
just set wsoNoReceiveLoop in SocketOptions to True and dont Receive in
OnDataAvailable, just Exit.

At that point OnDataAvailable will not fire again.

Later when you wants to receive again, just call Receive outside

Rgds, Wilfried [TeamICS]

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