TCP/IP question
-
Hi, The following is TCP/IP packets collected by Wireshark: 34 16:09:29.056911 10.10.10.7 10.10.10.100 TCP 49167 > amiganetfs [PSH, ACK] Seq=55 Ack=1567 Win=64240 Len=6 35 16:09:29.193003 10.10.10.100 10.10.10.7 TCP amiganetfs > 49167 [PSH, ACK] Seq=1567 Ack=61 Win=5632 Len=1 36 16:09:29.386529 10.10.10.7 10.10.10.100 TCP [TCP Retransmission] 49167 > amiganetfs [PSH, ACK] Seq=55 Ack=1567 Win=64240 Len=6 What is happening here is 49167 sends 6 bytes to amiganetfs which acknowledges them and sends one byte back, then 49167 resends the packet 34 as if it didn't receive the ack (but it was received and picked up by Wireshark). It seems that ack was ignored by 49167. Any idea why it's happening so?
-
Hi, The following is TCP/IP packets collected by Wireshark: 34 16:09:29.056911 10.10.10.7 10.10.10.100 TCP 49167 > amiganetfs [PSH, ACK] Seq=55 Ack=1567 Win=64240 Len=6 35 16:09:29.193003 10.10.10.100 10.10.10.7 TCP amiganetfs > 49167 [PSH, ACK] Seq=1567 Ack=61 Win=5632 Len=1 36 16:09:29.386529 10.10.10.7 10.10.10.100 TCP [TCP Retransmission] 49167 > amiganetfs [PSH, ACK] Seq=55 Ack=1567 Win=64240 Len=6 What is happening here is 49167 sends 6 bytes to amiganetfs which acknowledges them and sends one byte back, then 49167 resends the packet 34 as if it didn't receive the ack (but it was received and picked up by Wireshark). It seems that ack was ignored by 49167. Any idea why it's happening so?
What does this have to do with C++ :confused: ?
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
Hi, The following is TCP/IP packets collected by Wireshark: 34 16:09:29.056911 10.10.10.7 10.10.10.100 TCP 49167 > amiganetfs [PSH, ACK] Seq=55 Ack=1567 Win=64240 Len=6 35 16:09:29.193003 10.10.10.100 10.10.10.7 TCP amiganetfs > 49167 [PSH, ACK] Seq=1567 Ack=61 Win=5632 Len=1 36 16:09:29.386529 10.10.10.7 10.10.10.100 TCP [TCP Retransmission] 49167 > amiganetfs [PSH, ACK] Seq=55 Ack=1567 Win=64240 Len=6 What is happening here is 49167 sends 6 bytes to amiganetfs which acknowledges them and sends one byte back, then 49167 resends the packet 34 as if it didn't receive the ack (but it was received and picked up by Wireshark). It seems that ack was ignored by 49167. Any idea why it's happening so?
It may be possible that the ACK did not reach the other side. Capture on both the sides and see. BTW, Nobody will be able to help you further on this if you don't post the exact code which transmits the packet and receives the packet.
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn