[En-Nut-Discussion] TCP connection sequence question

HeltonGA at aol.com HeltonGA at aol.com
Fri Feb 20 19:59:26 CET 2004


I am having a problem making a TCP connection with my development board and 
code. 
This is not an Ethernut problem. Here is the problem.

When the client (SuperScan in this case) requests to open a TCP connection, 
it 
sends the following information (captured using Ethereal)

INFO Field
1089 > http  [SYN] Seq=609287992 Ack=0 Win=64240 Len=0

My code's response was:
http > 1089  [SYN, ACK] Seq=3094077 Ack=609287993 Win=64240 Len=0

This is what I would have expected from the client to complete the connecton:
1089 > http [ACK] Seq=609287993 Ack=3094078 Win=64240 Len=0

The client should have ACKed my (server's) last Seq number + 1 and repeated 
the server's
last Ack value in it's Seq value. This is based on my understanding of
RFC793, pg 31.

However, I got this response to my ACK:
1089 > http [SYN] Seq=609287992 Ack=0 Win=64240 Len=0

Is there a problem with SuperScan or is my understanding of the TCP 
connection sequence incorrect ?

Thanks,
Fiz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20040220/3ab848e4/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tcpget2.txt
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20040220/3ab848e4/attachment-0001.txt>


More information about the En-Nut-Discussion mailing list