CL_TCPListen Class Reference
[clanNetwork Socket]

TCP listen socket. More...

#include <tcp_listen.h>

List of all members.

Public Member Functions

Construction
 CL_TCPListen (const CL_SocketName &name, int queue_size=5, bool force_bind=true)
 Constructs a TCPListen.
 ~CL_TCPListen ()
Attributes
CL_Event get_accept_event () const
 Get Accept event.
int get_handle () const
 Get Handle.
Operations
CL_TCPConnection accept ()
 Accept.


Detailed Description

TCP listen socket.


Constructor & Destructor Documentation

CL_TCPListen::CL_TCPListen const CL_SocketName name,
int  queue_size = 5,
bool  force_bind = true
 

Constructs a TCPListen.

Parameters:
name = Socket Name
queue_size = value
force_bind = bool

CL_TCPListen::~CL_TCPListen  ) 
 


Member Function Documentation

CL_TCPConnection CL_TCPListen::accept  ) 
 

Accept.

Returns:
TCPConnection

CL_Event CL_TCPListen::get_accept_event  )  const
 

Get Accept event.

Returns:
accept_event

int CL_TCPListen::get_handle  )  const
 

Get Handle.

Returns:
handle


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:42 2009 for ClanLib by  doxygen 1.4.6