{"id":600,"date":"2019-03-07T15:57:46","date_gmt":"2019-03-07T15:57:46","guid":{"rendered":"http:\/\/fpganow.com\/?p=600"},"modified":"2019-03-07T15:57:46","modified_gmt":"2019-03-07T15:57:46","slug":"tcp-is-now-working-as-well","status":"publish","type":"post","link":"https:\/\/fpganow.com\/index.php\/2019\/03\/07\/tcp-is-now-working-as-well\/","title":{"rendered":"TCP is Now Working as Well!"},"content":{"rendered":"\n<p>As I was traversing my mental decision tree using a depth-first search model of digger deeper and deeper in to the lwip TCP\/IP source code, I thought to myself that I should go back up the decision tree and take a deeper look at the tcpdump output.<\/p>\n\n\n\n<p>It turns out I was setting the source and destination IP addresses to the same value.  Once I set the source IP address to NULL, the TCP\/IP stack auto-binded it to the IP address of the MAC and all communications started working.<\/p>\n\n\n\n<p>Now I will do some code cleanup, will push to github and then get started on a simple demo of how this works.<\/p>\n\n\n\n<p>After that&#8230; I will put this logic inside the FPGA and show how this can help you with your trading applications.<\/p>\n\n\n\n<p>Code is a work-in-progress and is on the addTcp branch<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/fpganow\/MicroBlaze_lwIP\/tree\/addTcp\">https:\/\/github.com\/fpganow\/MicroBlaze_lwIP\/tree\/addTcp<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I was traversing my mental decision tree using a depth-first search model of digger deeper and deeper in to the lwip TCP\/IP source code, I thought to myself that I should go back up the decision tree and take a deeper look at the tcpdump output. It turns out I was setting the source &#8230; <a title=\"TCP is Now Working as Well!\" class=\"read-more\" href=\"https:\/\/fpganow.com\/index.php\/2019\/03\/07\/tcp-is-now-working-as-well\/\" aria-label=\"Read more about TCP is Now Working as Well!\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-600","post","type-post","status-publish","format-standard","hentry","category-uncategorized","masonry-post","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/posts\/600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/comments?post=600"}],"version-history":[{"count":1,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/posts\/600\/revisions"}],"predecessor-version":[{"id":601,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/posts\/600\/revisions\/601"}],"wp:attachment":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/media?parent=600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/categories?post=600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/tags?post=600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}