OWLNext 7.0
Borland's Object Windows Library for the modern age
|
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.
Server | Client |
Create a socket | |
Bind an address to the socket | |
Create a socket | |
Send and receive data | Send and receive data |
Close the connection | Close the connection |
Using