You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2024. It is now read-only.
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 ?