TcpConnectionServer Class Reference

#include <TcpConnectionServer.h>

Inheritance diagram for TcpConnectionServer:

Socket List of all members.

Public Types

enum  { max_backlog = 5 }

Public Member Functions

 TcpConnectionServer (const SocketAddress &address, int backlog=max_backlog)
 TcpConnectionServer (SOCKET descriptor)
void listen (int backlog=max_backlog)
bool accept (TcpSocket &socket)

Protected Member Functions

 TcpConnectionServer (const TcpConnectionServer &)
void operator= (const TcpConnectionServer &)

Detailed Description

Definition at line 32 of file TcpConnectionServer.h.

Member Enumeration Documentation

anonymous enum


Definition at line 36 of file TcpConnectionServer.h.

Constructor & Destructor Documentation

TcpConnectionServer::TcpConnectionServer const SocketAddress address,
int  backlog = max_backlog

Definition at line 33 of file TcpConnectionServer.cpp.

References Socket::bind(), SocketAddress::isIpAddress(), listen(), and Socket::setReuseLocalAddresses().

TcpConnectionServer::TcpConnectionServer SOCKET  descriptor  ) 

TcpServer Socket library

Copyright (c) 2000 Jasen Plietz All rights reserved.

No warranties are extended. Use at your own risk.

To contact the author with suggestions or comments, use

Definition at line 27 of file TcpConnectionServer.cpp.

TcpConnectionServer::TcpConnectionServer const TcpConnectionServer  )  [protected]

Member Function Documentation

bool TcpConnectionServer::accept TcpSocket socket  ) 

Definition at line 43 of file TcpConnectionServer.cpp.

References Socket::close(), Socket::getDescriptor(), Socket::setDescriptor(), and SOCKET_CALL_3.

Referenced by networkAppMain().

void TcpConnectionServer::listen int  backlog = max_backlog  ) 

Definition at line 66 of file TcpConnectionServer.cpp.

References Socket::getDescriptor(), and SOCKET_CALL_2.

Referenced by TcpConnectionServer().

void TcpConnectionServer::operator= const TcpConnectionServer  )  [protected]

The documentation for this class was generated from the following files:
Generated on Tue Mar 28 09:10:16 2006 for Simple SOAP by  doxygen 1.4.6