{"id":907,"date":"2006-06-24T13:49:00","date_gmt":"2006-06-24T03:49:00","guid":{"rendered":"http:\/\/new.radio-active.net.au\/web3\/907\/"},"modified":"2014-10-10T12:22:01","modified_gmt":"2014-10-10T01:22:01","slug":"907","status":"publish","type":"post","link":"http:\/\/www.radio-active.net.au\/web3\/907","title":{"rendered":""},"content":{"rendered":"<p>Some days I am sure that I am going mad. Other days I am confident I am. I am not sure which case today falls into, but it is one of them. I am trying to send some data from my computer out the network port. This should be simple. I wanted to send two packets out. One for instance contained the value 1, and the other contained the value 2. So I write some code, and it does not work. Even worse, when I use Ethereal to check on what is happening I find that I am sending packets containing &#8216;2&#8217; twice. This SHOULD NOT be happening.<\/p>\n<p>Dim Buffer(1) As Byte<br \/>Buffer(0) = 1<br \/>Send(Buffer, d.RemoteEndPoint)<br \/>Buffer(0) = 2<br \/>Send(Buffer, d.RemoteEndPoint)<\/p>\n<p>And it was sending both as &#8216;2&#8217;. Very strange. When I changed the VB.NET code to the following things started workng. <\/p>\n<p>Dim Buffer(1) As Byte<br \/>Buffer(0) = 1<br \/>Send(Buffer, d.RemoteEndPoint)<br \/>Dim Buffer2(1) As Byte<br \/>Buffer2(0) = 2<br \/>Send(Buffer2, d.RemoteEndPoint)<\/p>\n<p>Since SEND is getting the packets &#8216;By Value&#8217;, I should not need to do this. Not sure what is going on, but it is a BUG!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some days I am sure that I am going mad. Other days I am confident I am. I am not sure which case today falls into, but it is one of them. I am trying to send some data from &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"http:\/\/www.radio-active.net.au\/web3\/907\">  Read More &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s5cfmK-907","_links":{"self":[{"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/posts\/907"}],"collection":[{"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/comments?post=907"}],"version-history":[{"count":0,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/posts\/907\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/media?parent=907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/categories?post=907"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/tags?post=907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}