PDA

View Full Version : 5 - Writing UDP/SOCK_DGRAM applications


Loco
07-27-2002, 01:30 AM
5 - Writing UDP/SOCK_DGRAM applications

When should I use UDP instead of TCP?
What is the difference between "connected" and "unconnected" sockets?
Does doing a connect() call affect the receive behaviour of the socket?
How can I read ICMP errors from "connected" UDP sockets?
How can I be sure that a UDP message is received?
How can I be sure that UDP messages are received in order?
How often should I re-transmit un-acknowleged messages?
How come only the first part of my datagram is getting through?
Why does the socket's buffer fill up sooner than expected?