> > I can't remember for certain, but I recall Ethernet having 1500
> > bytes as the maximum size of the datagram. So, if a message is 12
> > megabytes, it only takes approximately 9 packets
> 
> Well, it's not nine, it's more like 8000 plus something packets,
> depending on the definition of Megabyte. ;)

1500 on Ethernet is 'Transmission unit', and you are not reading 
transmission units on Socket level. Here are very mishmash in 
terminology, because 'packet' is defined by differrently on each 
level. And because we are not programming low-level ethernet 
communication, we are programming by Socket API, "packet" is 
something different then MTU on Ethernet.


-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to