OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Datagram Socket Communication

The WinSocket classes also support datagram sockets.

Datagram communication does not require a connection because each datagram messages contains a destination address. A datagram socket can send data to many addresses, and receive data from many sources.

Datagram communication does not use a client-server relationship. For convenience, however, these terms are used in the table below.

ServerClient
Create a socket
Bind an address to the socket
Create a socket
Send and receive dataSend and receive data
Close the connectionClose the connection

Using