This repository was archived by the owner on May 14, 2024. It is now read-only.

Description
Hi,
I am trying to create a synchronous connection with NSCondition.
But when i wait for the signal, the socket calls onDisconnect(); right after a successful
connection.
I even tried with a sleep(1); and got the same behavior.
The connection is not even opened in the same thread as the sleep. Did i missed something ? Is there a way to ensure the connection to go through ?
Thanks a lot.