Commit graph

6 commits

Author SHA1 Message Date
David Steele
b662712568 Correction for IP Checksum as per email from Simon 19/9/21
I found a bug in the TCP/IPV4 checksum method where an odd sized payload would falsely check as bad if the rx buffer happened to have a non zero value in the byte after the payload. Just in case this became an issue, I thought I would let you know the fix. In tcpClient.cpp, in the ipv4_checksum method the 'for' loop is changed to:

for (int idx = 0; idx < (len-1); idx+=2)

And that's it.

best regards,

Simon
2021-10-05 13:29:25 +01:00
Simon Southwell
532264b9ad Added more checks and warnings in the soft TCP client model. 2020-09-10 13:40:33 +01:00
Simon Southwell
653537bec6 Corrected comment in tcpClient.cpp 2020-08-31 15:32:55 +01:00
Simon Southwell
2b1ea2632d Soft TCP client code updated with more comments 2020-08-31 15:31:23 +01:00
Simon Southwell
8cda782cbc Separated out access to TCP VProc into own base class so can easily be replaced for platform. 2020-08-31 13:16:00 +01:00
Simon Southwell
c2f23250b5 Adding soft TCP client model and software for VProc 2020-08-28 15:40:28 +01:00