Markus Humm wrote:
> errors first. I don't even accept the connection if asoc is already
> assigned and without it being in a thread it worked reliably.

Given that property ListenBacklog is set to 0 it actually would work.
Otherwise (default value of ListenBacklog is 5), after the first
trigger of OnSessionAvailable that denies the connection attempt _without
accepting it first, all subsequent connection attempts would hang around in
the listenbacklog queue, and event OnSessionAvailable won't be triggered
any more. 
As I already said, my change probably has nothing to do with
your problem, it just sprang to my mind that there's a problem in
your code. 

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html


> 
> Greetings
> 
> Markus
-- 
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