#include <mcllib/MCSocket.h>
Inheritance diagram for MCCOUDPSocket:
Public Member Functions | |
MCCOUDPSocket (const MCNetAddr &addr) | |
Construct a UDP socket bound to a local address. | |
MCCOUDPSocket () | |
Construct an unbound UDP socket. |
A connection-oriented UDP socket differs from a connection-less UDP socket in that the connect() method must be used to connect it to a remote address and send() used on the connected socket.
|
Construct an unbound UDP socket. The resultant socket should be bound to a local address with the bind() method. |
|
Construct a UDP socket bound to a local address. If the socket cannot be bound to the address an exception is thrown.
|