Next:
4.2.5 Sockets
Up:
4.2 Datagram Sockets
Previous:
4.2.3 UDP - User
4.2.4 Programming in UDP
To send UDP messages, the programmer needs to:
Set up a data structure which contains the port number (the process identifier) and the IP address of the destination of the packet.
Optionally set up their own source address information - depends on the application.
Pass a pointer to the data and the address data structure to the operating system, asking it to construct and send the necessary packet(s).
Next:
4.2.5 Sockets
Up:
4.2 Datagram Sockets
Previous:
4.2.3 UDP - User
Ian Wakeman 2005-02-22