For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > July 2005 > Re: Socket:Packet Size









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Socket:Packet Size
Yash

2005-07-24, 8:53 pm

Thanks Devid !
But if we cant control the packet size..............than ahat is the
meaning/significance of frame size of 64,512,4096 bytes.
How do they make sense for application developer..............as i m
having control over application buffer only...............but the
actual transmission is through..send/receive socket calls, where kernal
makes decesion what packet size to be sent.

David Schwartz

2005-07-24, 8:53 pm


"Yash" <yash_mbm@yahoo.com> wrote in message
news:1121939611.156434.179800@f14g2000cwb.googlegroups.com...
> Thanks Devid !
> But if we cant control the packet size..............than ahat is the
> meaning/significance of frame size of 64,512,4096 bytes.


I'm not sure what you mean. What is a "frame size"?

> How do they make sense for application developer..............as i m
> having control over application buffer only...............but the
> actual transmission is through..send/receive socket calls, where kernal
> makes decesion what packet size to be sent.


I still don't understand your question. You make send calls, and the
data comes out in receive calls. You are guaranteed that the other end will
get the same bytes in the same order but not in the same chunk size. That's
the nature of TCP, and if that's not what you want, don't use TCP.

DS


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com