Humm, Markus wrote:
>> -----Ursprüngliche Nachricht-----
>> Von: Arno Garrels [mailto:[EMAIL PROTECTED]
>> Gesendet: Mittwoch, 1. Februar 2006 12:10
>> An: ICS support mailing
>> Betreff: Re: [twsocket] Problems with TWSocket.close and DLL
>> 
>> 
>> Humm, Markus wrote:
>>> The dll using that communication dll has one thread per socket
>>> (max. at most 10). Freing the socket is requested by this dll
>>> when it's execute method terminates.
>> 
>> And the socket has been _created in method execute as well?
>> How do you achieve that client sockets run in the client thread
>> if not using ThreadAttach/ThreadDetach?
>> 
> 
> Hm, no it is created before execute. And no thread attach/detach is used.

If so, your sockets are never executed in the other thread-context, but all
in the listener-thread. 

> It works so far until the point when I try to close it.

Yes because you don't need threads with ICS :) you can easily exchange
data with multiple concurent at the same time.

Arno

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