G
Guest
Hi,
I am working with a client/server application that sends and receives
structures
of size 2000 bytes through TCP/IP Sockets. As MSS(Maximum Segment Size)
is 1500 bytes, TCP/IP protocol on the sending side would chop the packet
into
smaller packets, lets say 1400, 600 and sends on to the network.
Does the TCP/IP protocol on receiving side automatically merges those
smaller
packets and passes the complete packet to the higher application? or
do we(programmer) need to merge those smaller packets into a complete
packet.
My understand is that, TCP/IP protocol on the receiving side merges the
smaller
packets for us and passes the complete packet to the higher application.
Is my
understanding correct?
In my application, the client and the server would exchange thousands
packets
(structures) of size more than 2000 bytes. If my understanding of TCP/IP
protocol
is not correct, what is the best way to handle packets that are
decomposed by
the TCP/IP protocol.
Cheers,
Naveen.
I am working with a client/server application that sends and receives
structures
of size 2000 bytes through TCP/IP Sockets. As MSS(Maximum Segment Size)
is 1500 bytes, TCP/IP protocol on the sending side would chop the packet
into
smaller packets, lets say 1400, 600 and sends on to the network.
Does the TCP/IP protocol on receiving side automatically merges those
smaller
packets and passes the complete packet to the higher application? or
do we(programmer) need to merge those smaller packets into a complete
packet.
My understand is that, TCP/IP protocol on the receiving side merges the
smaller
packets for us and passes the complete packet to the higher application.
Is my
understanding correct?
In my application, the client and the server would exchange thousands
packets
(structures) of size more than 2000 bytes. If my understanding of TCP/IP
protocol
is not correct, what is the best way to handle packets that are
decomposed by
the TCP/IP protocol.
Cheers,
Naveen.