<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=131150721-09022006><FONT face=Arial size=2>Hello
again!</FONT></SPAN></DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial size=2>I would just inform
you that the TCP CRC problem is solved.</FONT></SPAN></DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial size=2>Credits to Vasily
for leading me in the right direction!!!!</FONT></SPAN></DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial size=2>The solution was to
put both the payload and the TCP+payload length to network byte order (htons).
The first was solved after comment from Vasily and the second I found myself (a
bug in my code).</FONT></SPAN></DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial size=2>Just an important
point for all of you dealing with payload. When constructing a packet with a new
payload, the payload itself should not be network-order, but when calculating
the TCP CRC, the payload must be network-order. So you have to deal with to
versions of the payload. At least this is what made my program
work.</FONT></SPAN></DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial size=2>Best regards to all
of you, and have a nice weekend</FONT></SPAN></DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=131150721-09022006><FONT face=Arial size=2>Vidar E.
Seeberg</FONT></SPAN></DIV></BODY></HTML>