DDS  ver. 3.5.3.8.g5fe284b
Public Member Functions | Protected Attributes | List of all members
MiscCommon::INet::CSocketServer Class Reference

CSocketServer implements a simple socket server. More...

#include <INet.h>

Public Member Functions

 CSocketServer ()
 
void Bind (unsigned short _nPort, const std::string *_Addr=NULL)
 
void Listen (int _Backlog)
 
Socket_t Accept ()
 
Socket_t getSocket ()
 
void setNonBlock (bool _val=true)
 
Socket_t detach ()
 

Protected Attributes

smart_socket m_Socket
 

Detailed Description

CSocketServer implements a simple socket server.

Constructor & Destructor Documentation

◆ CSocketServer()

MiscCommon::INet::CSocketServer::CSocketServer ( )
inline

Member Function Documentation

◆ Accept()

Socket_t MiscCommon::INet::CSocketServer::Accept ( )
inline

◆ Bind()

void MiscCommon::INet::CSocketServer::Bind ( unsigned short  _nPort,
const std::string *  _Addr = NULL 
)
inline

◆ detach()

Socket_t MiscCommon::INet::CSocketServer::detach ( )
inline

◆ getSocket()

Socket_t MiscCommon::INet::CSocketServer::getSocket ( )
inline

◆ Listen()

void MiscCommon::INet::CSocketServer::Listen ( int  _Backlog)
inline

◆ setNonBlock()

void MiscCommon::INet::CSocketServer::setNonBlock ( bool  _val = true)
inline

Member Data Documentation

◆ m_Socket

smart_socket MiscCommon::INet::CSocketServer::m_Socket
protected

The documentation for this class was generated from the following file: