Re: [twsocket] Creating Socket in one thread, destroying in another ?

2016-05-13 Thread Wilfried Mestdagh
As Noam answers, it should work, but doeing strange things is searching for trouble.What is the problem to let the same thread destroying the socket? Also if you destroy the socket in another thread what about the referenct to it in the other thread? Met vriendelijke groeten, Wilfried Mestdagh

Re: [twsocket] Creating Socket in one thread, destroying in another ?

2016-05-12 Thread Noam Weissman
Hi, I think that If you protect what you do with semaphores it is possible but its better to handle it all under one thread. BR, Noam. From: TWSocket on behalf of Daniel Mauric Sent: Thursday, May 12, 2016 11:12 AM To: twsocket@lists.elists.org Subj