{"action":"closed","issue":{"url":"https://api.github.com/repos/mesta1/nmodbus/issues/54","repository_url":"https://api.github.com/repos/mesta1/nmodbus","labels_url":"https://api.github.com/repos/mesta1/nmodbus/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/mesta1/nmodbus/issues/54/comments","events_url":"https://api.github.com/repos/mesta1/nmodbus/issues/54/events","html_url":"https://github.com/mesta1/nmodbus/issues/54","id":109439184,"number":54,"title":"Modbus TCP slave is not RFC 793-compliant","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/mesta1/nmodbus/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/mesta1/nmodbus/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/mesta1/nmodbus/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T06:54:30Z","updated_at":"2016-02-23T22:54:04Z","closed_at":"2016-02-23T22:54:04Z","body":"```\nWhat steps will reproduce the problem?\n1. Run your slave software\n2. Send a modbus TCP/IP ADU request with one byte per TCP segment (this is \nlegal according to RFC 793). Maybe this can be achieved by lowering the MTU of \nthe network interface, otherwise a socket tool is needed to force the \nsegmentation.\n\nWhat is the expected output? What do you see instead?\nI see error messages when the 6 first bytes of the mbap header, and the \nremaining ADU are not received as one segment.\nRFC 793 describes the TCP as \"a stream of octets\", where no assumptions can be \nmade about segmentation: There is no guarantee that the full ADU will be \ndelivered as one segment by the TCP-interface. A stream of octets is the way to \nthink of the incoming TCP data.\n\nWhat version of the product are you using? On what operating system?\nNModbus_net-2.0_1.11.0.0 on Windows XP Pro 2002 SP3\n\nPlease provide any additional information below.\nA fix has been implemented in ModbusMasterTcpConnection.cs, this will be \nuploaded when reviewed and tested.\n\n\n```\n\nOriginal issue reported on code.google.com by `langeman...@gmail.com` on 21 Jul 2010 at 11:16"}}