the forums at degreez.net
http://forums.degreez.net/

What's included in the 'upload_unit_size' ?
http://forums.degreez.net/viewtopic.php?f=4&t=7338
Page 1 of 1

Author:  TiKiSMiKiS [ Sun Nov 25, 2007 3:27 pm ]
Post subject:  What's included in the 'upload_unit_size' ?

When i read that by default the upload_unit_size is equal to 1460 bytes, i think that's the MSS of a Ethernet Packet without Time Stamping.

In that case, in those 1460 is included the bt-header and the data packet?
But i have adsl and the mtu of the PPPoE is 1492 and i need change to 1452 to avoid fragmentation.

But think is free, if not, to me may cost too much money.

Thanks in advance.

Author:  TheSHAD0W [ Sun Nov 25, 2007 5:59 pm ]
Post subject: 

That is the net total payload per write to the socket, which *should* send it in a single packet (no guarantees though).

Author:  TiKiSMiKiS [ Sun Nov 25, 2007 6:29 pm ]
Post subject: 

Thanks, i know that the socket send more data at once, and that the tcp/ip transmit more packets, ack per example.

Then i'll put there a 1414 bytes to complete the ATM packets on adsl.
The question was if that is the 'data' (file data) or 'total' packet.

Thanks, i can now calculate.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/