Paul Howes wrote:
> Hi,
> 
> I'm using TWSocketServer to handle multiple incoming connections from
> a client's embedded unit. 
> 
> Unfortunately the remote unit has a few limitations; the main one
> being that it can establish an IP connection to a server but cannot
> send data until the server requests it.
> 
> This means that although the OnClientConnect function gets called,
> the OnDataAvailable does not.

Yes, OnDataAvailable only triggers when a client has sent something. 

> 
> I had put a line of code in the OnClientConnect to trigger the
> OnDataAvailable function but this seems to be blocking other
> connections.

Why not simply request data from OnClientConnect?
  
-- 
Arno Garrels
--
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

Reply via email to