{"action":"closed","issue":{"url":"https://api.github.com/repos/zeromq/netmq/issues/418","labels_url":"https://api.github.com/repos/zeromq/netmq/issues/418/labels{/name}","comments_url":"https://api.github.com/repos/zeromq/netmq/issues/418/comments","events_url":"https://api.github.com/repos/zeromq/netmq/issues/418/events","html_url":"https://github.com/zeromq/netmq/issues/418","id":124475352,"number":418,"title":"Example from the readme not working with Mono 4.x (Linux)","user":{"login":"timothyparez","id":2060470,"avatar_url":"https://avatars.githubusercontent.com/u/2060470?v=3","gravatar_id":"","url":"https://api.github.com/users/timothyparez","html_url":"https://github.com/timothyparez","followers_url":"https://api.github.com/users/timothyparez/followers","following_url":"https://api.github.com/users/timothyparez/following{/other_user}","gists_url":"https://api.github.com/users/timothyparez/gists{/gist_id}","starred_url":"https://api.github.com/users/timothyparez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timothyparez/subscriptions","organizations_url":"https://api.github.com/users/timothyparez/orgs","repos_url":"https://api.github.com/users/timothyparez/repos","events_url":"https://api.github.com/users/timothyparez/events{/privacy}","received_events_url":"https://api.github.com/users/timothyparez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-31T14:21:57Z","updated_at":"2016-01-01T16:09:48Z","closed_at":"2016-01-01T16:09:48Z","body":"The example code from the readme, modified to write the comments to the screen\r\n\r\n```\r\nusing System;\r\nusing NetMQ;\r\n\r\nnamespace TestApp\r\n{\r\n\tclass MainClass\r\n\t{\r\n\t\tpublic static void Main (string[] args)\r\n\t\t{\r\n\t\t\tusing (var context = NetMQContext.Create())\r\n\t\t\tusing (var server = context.CreateResponseSocket())\r\n\t\t\tusing (var client = context.CreateRequestSocket())\r\n\t\t\t{\r\n\t\t\t\tConsole.WriteLine(\"Bind the server to a local TCP address\");\r\n\t\t\t\tserver.Bind(\"tcp://localhost:5556\");\r\n\r\n\t\t\t\tConsole.WriteLine(\"Connect the client to the server\");\r\n\t\t\t\tclient.Connect(\"tcp://localhost:5556\");\r\n\r\n\t\t\t\tConsole.WriteLine(\"Send a message from the client socket\");\r\n\t\t\t\tclient.SendFrame(\"Hello\");\r\n\r\n\t\t\t\tConsole.WriteLine(\"Receive the message from the server socket\");\r\n\t\t\t\tstring m1 = server.ReceiveFrameString();\r\n\t\t\t\tConsole.WriteLine(\"From Client: {0}\", m1);\r\n\r\n\t\t\t\tConsole.WriteLine(\"Send a response back from the server\");\r\n\t\t\t\tserver.SendFrame(\"Hi Back\");\r\n\r\n\t\t\t\tConsole.WriteLine(\"Receive the response from the client socket\");\r\n\t\t\t\tstring m2 = client.ReceiveFrameString();\r\n\t\t\t\tConsole.WriteLine(\"From Server: {0}\", m2);\r\n\t\t\t}\r\n\r\n\t\t\tConsole.ReadLine ();\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\nWorks fine on Linux with Mono 3.2 but not with Mono 4.3.  \r\nI've tested this on multiple machines with the same result\r\n\r\nThe output of the application with Mono 3.2:\r\n\r\n> Bind the server to a local TCP address\r\n> Connect the client to the server\r\n> Send a message from the client socket\r\n> Receive the message from the server socket\r\n> From Client: Hello\r\n> Send a response back from the server\r\n> Receive the response from the client socket\r\n> From Server: Hi Back\r\n\r\nThe output of the application with Mono 4.3:\r\n> Bind the server to a local TCP address\r\n> Connect the client to the server\r\n> Send a message from the client socket\r\n> Receive the message from the server socket\r\n\r\nBasically it never gets past `string m1 = server.ReceiveFrameString();`\r\n\r\n\r\n"}}