Hello Jack, This seems OK. Indeed if you set wsoNoreceivedLoop in the OnDataAvailable handler it will hot have an effect when there is still data to receive and with this fix it is.
Another possibility is that you set wsoNoreceivedLoop beforehand at creation time of TWSocket, then you dont need the change. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- 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