Re: 64K limit for socket send
- From: Rick Jones <rick.jones2@xxxxxx>
- Date: Wed, 12 Jul 2006 16:59:30 GMT
JF Mezei <jfmezei.spamnot@xxxxxxxxxxxx> wrote:
Rick Jones wrote:
1) Is this user's _send_, plus any queued, unsent data > MSS? If yes,
send immeidately, otherwise go to question 2.
If I have a 1500 MTU (server side) and some remote dialup user has
150 MTU, isn't it better for the server to send 1500 size packets
and let the last router befofe the dialup link split the packets
versus sending 150 packets from the server ?
(Or does the TCP stack limit those packets to 150 right at the
server side ?)
The TCP stact at the dial-up user will have exchanged an MSS option of
150-40 or 110 in the SYNchronize segment and that will be used for the
connection in each direction.
At the risk of repeating what others will say, one wants to avoid IP
fragmentation when possible. All fragments of an IP datagram must
arrive at the receiver for the datagram to be reassembled. If any of
the fragments are lost, the entire datagram is toast. This
"amplifies" the packet loss rate into a rather higher datagram loss
rate, and the entire datagram must be retransmitted by something above
IP.
(sorry for using MTU here, i forget the actual number of byte
difference between MTU and MSS)
_Typically_ it will be the MTU less 20 bytes of IP header and 20 bytes
of TCP header. For IPv6 that IP header is larger, and when TCP
Timestamps are enabled on a connection, the TCP header is typically 32
bytes.
--
No need to believe in either side, or any side. There is no cause.
There's only yourself. The belief is in your own precision. - Jobert
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.
- References:
- 64K limit for socket send
- From: Keith A. Lewis
- Re: 64K limit for socket send
- From: Ryan Moore
- Re: 64K limit for socket send
- From: Rick Jones
- Re: 64K limit for socket send
- From: Keith A. Lewis
- Re: 64K limit for socket send
- From: Rick Jones
- Re: 64K limit for socket send
- From: JF Mezei
- 64K limit for socket send
- Prev by Date: Re: Where Are The System Directories
- Next by Date: Re: 64K limit for socket send
- Previous by thread: Re: 64K limit for socket send
- Next by thread: Re: 64K limit for socket send
- Index(es):
Relevant Pages
|