Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How come only the first part of my datagram is getting through?

Answer Posted / chaitanya

This has to do with the maximum size of a datagram on the two machines involved. This depends on the sytems involved, and the MTU (Maximum Transmission Unit). According to "UNIX Network Programming", all TCP/IP implementations must support a minimum IP datagram size of 576 bytes, regardless of the MTU. Assuming a 20 byte IP header and 8 byte UDP header, this leaves 548 bytes as a safe maximum size for UDP messages. The maximum size is 65516 bytes. Some platforms support IP fragmentation which will allow datagrams to be broken up (because of MTU values) and then re-assembled on the other end, but not all implementations support this.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does af mean in sockets?

872


What is the difference between SO_REUSEADDR and SO_REUSEPORT?

1746


What is socket address with example?

796


Is tcp or unix socket faster?

792


What pieces of information make up a socket?

906


How can I force a socket to send the data in its buffer?

1561


Are unix sockets faster than tcp?

804


What is the function of socket?

860


What is a socket address?

869


How can I set the timeout for the connect() system call?

1463


What are the pros/cons of select(), non-blocking I/O and SIGIO?

1312


Why do we need socket programming?

813


What is socket programming in java?

796


What is the difference between read() and recv()?

1903


What is a socket set used for?

898