We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NetMQ Version: 4.0.1.10 Operating System: macOS 12.6 .NET Version: Unity 2022.1.21f1
I would expect the program not to block forever.
The program blocks forever.
public static void ZeroMQ() { try { TimeSpan timeout = TimeSpan.FromMilliseconds(2000); AsyncIO.ForceDotNet.Force(); using (PairSocket client = new PairSocket("tcp://127.0.0.1:5555")) { client.Options.Linger = TimeSpan.Zero; bool success = client.TrySendFrame(timeout, "Hello"); Debug.Log($"Success = {success}"); string msg = string.Empty; success = client.TryReceiveFrameString(timeout, out msg); Debug.Log($"Success = {success} - {msg}"); success = client.TryReceiveFrameString(timeout, out msg); Debug.Log($"Success = {success} - {msg}"); } } catch (Exception e) { Debug.Log(e); } finally { NetMQConfig.Cleanup(); } }
The text was updated successfully, but these errors were encountered:
Experiencing the same issue on macOS and Xamarin.
Sorry, something went wrong.
No branches or pull requests
Environment
Expected behaviour
I would expect the program not to block forever.
Actual behaviour
The program blocks forever.
Steps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: