#include <mcllib/MCSocket.h>
Inheritance diagram for MCTCPSocket:
Public Member Functions | |
MCTCPSocket (const MCNetAddr &addr) | |
Construct a TCP socket bound to a local address. | |
MCTCPSocket () | |
Construct an unbound TCP socket. | |
virtual | ~MCTCPSocket () |
Virtual destructor. | |
Friends | |
class | MCStreamSocket |
|
Construct an unbound TCP socket. The resultant socket should be bound to a local address with the bind() method. |
|
Construct a TCP socket bound to a local address. If the socket cannot be bound to the address an exception is thrown.
|