{"action":"closed","issue":{"url":"https://api.github.com/repos/dread2607/Materials/issues/50","repository_url":"https://api.github.com/repos/dread2607/Materials","labels_url":"https://api.github.com/repos/dread2607/Materials/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/dread2607/Materials/issues/50/comments","events_url":"https://api.github.com/repos/dread2607/Materials/issues/50/events","html_url":"https://github.com/dread2607/Materials/issues/50","id":86194091,"number":50,"title":"InvalidOperationException on network failure","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dread2607/Materials/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/dread2607/Materials/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/dread2607/Materials/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-06-08T14:17:17Z","updated_at":"2016-08-15T17:35:48Z","closed_at":"2016-08-15T17:35:48Z","body":"```\nWhat steps will reproduce the problem?\n1. All working fine --> data is retrieved from deivce, then...\n2. The netowrk is disconnected (Unplug the network cable...)\n3. A read attempt to the device fails --> As expected\n4. The network is reconnected\n5. A read attempt throughs the following exception:  \n   InvalidOperationException - The operation is not allowed on non-\nconnected sockets.\n\nRunning Windows XP, VS2008, NModbus_net-3[1].5_1.11.0.0.\n\nI am using ModbusIpMaster to connect and retrieve data from an modbus \n(TCP) enabled device.\nThis works fine, until the a network clitch ouccurs (Net work cable is \nunplugged).\nThe next call after the netork has been re-established throughs the \nfollowing exception:\nInvalidOperationException - The operation is not allowed on non-connected \nsockets.\n\nAlthough I can catch the exception I cannot get \"reconnected\".\n\nAny ideas on how to re-establish the connection?\n\nOcle\n```\n\nOriginal issue reported on code.google.com by `e...@drpa.co.za` on 29 Oct 2009 at 8:58"}}
{"actor":{"display_login":"dread2607"}}