> I have looked at the Synapse echo sample and see two threads are used,
> one to monitor the port and then a second thread to for each
> connection made to that port.  Is this the recommended method as
> ideally I'd just like to use the OnStatus event to tell me when there
> is new data to read but the OnStatus event does not get called in my
> very simple single threaded test program below:

OnStatus is not event for incomming data! See:

http://synapse.ararat.cz/wiki/index.php?page=ReadEvent
http://synapse.ararat.cz/wiki/index.php?page=ReadData



-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to