Packets

mmiers

Newcomer
Joined
Apr 3, 2003
Messages
7
I have a simple question. I've read in many vb.net networking articles that when u send a peice of data, u should split it up into chunks and send each one. Then it goes into what is an optimal "buffer size" .

Could someone explain the need to split up packets when sending? I know that when u recieve, packets can be split up or stuck together but why the need to handle packets when sending? Did I read the article wrong?

It's my understanding that the beginsend function is asynchronous so it won't lock up the app when sending something really huge.

A followup question, what determines optimal packet size? I can understand that sending a massive amoount of tiny packets would cause unnecessary processing on the other end, correct?

Thanks
- Mark
 
Back
Top