Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MCTCPSocket Class Reference

TCP Socket. More...

#include <mcllib/MCSocket.h>

Inheritance diagram for MCTCPSocket:

MCStreamSocket MCCOSocket MCSocket MCIOBase MCBase List of all members.

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

Detailed Description

TCP Socket.


Constructor & Destructor Documentation

MCTCPSocket  ) 
 

Construct an unbound TCP socket.

The resultant socket should be bound to a local address with the bind() method.

MCTCPSocket const MCNetAddr addr  ) 
 

Construct a TCP socket bound to a local address.

If the socket cannot be bound to the address an exception is thrown.

Parameters:
addr the local address to bind the socket to


Generated on Wed Jan 12 19:05:50 2005 for MCLLIB by  doxygen 1.3.9.1