Good afternoon,
I am currently working on a project which purpose is to establish a TCP connection between a PC and a microcontroler.
I configured (in C language) the µC as the server, and the PC as the client (in C#, using the TCPClient class).
While running the codes, I capture the frames on the network with Wireshark.
The client's ISN is chosen randomly by the TCPClient.Connect method.
Since there will be only one TCP connection at a time, the server's ISN is always 0.
The server's port is 0xC0C0 (49344) and the client's port is also chosen randomly by the TCPClient.Connect method.
find the screenshot of the Wireshark's capture attached !
In compliance with RFC793, the three-way-handshake should conclude with an ACK segment from the client.
In my exemple, the client tries to connect three times, and then drops : the client sends no ACK segment.
The µC's SYN-ACK reply may be bad configured ...
What kind of information did I miss ? Are there special data the client is expecting ? Why don't I get back an ACK segment from the client?
Thank you for your help.
Attachment:
exemple_tcp.JPG [ 141.54 KiB | Viewed 255 times ]