TCP Traffic

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 635
Joined: Mon May 12, 2008 10:55 am

TCP Traffic

Post by SeeCwriter »

I'm using a Nano54415 with v2.8.1 of the tools.

I'm monitoring network traffic with Wireshark. When using TCP/IP, I notice that when a packet is
sent to the Nano requesting some data, the nano responds with 2 packets. The first packet is an
ACK with no data, the second packet is another ACK but with the requested data. And both packets
respond with the same sequence and ack numbers.

It seems unnecessary to respond with 2 packets for every one received. Is there a setting I can
change to correct this? I've already turned off NAGLE.
ecasey
Posts: 164
Joined: Sat Mar 26, 2011 9:34 pm

Re: TCP Traffic

Post by ecasey »

I think the first ACK is for the SYN (the connection) and the second is for the packet of data. There would be more ACKs for more packets if the data was longer than one packet.

Why do you think that two ACKs is too many?

Ed
Post Reply