Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Socket Class Referenceabstract

#include <Socket.hpp>

Inheritance diagram for Socket:
Inheritance graph
Collaboration diagram for Socket:
Collaboration graph

Public Member Functions

 Socket ()
 
 Socket (int sd)
 
 ~Socket ()
 
int getSocketDescr () const noexcept
 
void setNonBlocked (bool option)
 
void close ()
 
virtual void createServerSocket ()=0
 

Protected Member Functions

void setReuseAddress (int sd)
 

Protected Attributes

int socketDescr
 
uint32_t socketBoundPort
 

Constructor & Destructor Documentation

Socket::Socket ( )
inline
Socket::Socket ( int  sd)
inline
Socket::~Socket ( )
inline

Here is the call graph for this function:

Member Function Documentation

void Socket::close ( )
inline

Here is the caller graph for this function:

virtual void Socket::createServerSocket ( )
pure virtual

Implemented in SocketTCP, and SocketUDP.

int Socket::getSocketDescr ( ) const
inlinenoexcept
void Socket::setNonBlocked ( bool  option)
noexcept

Here is the call graph for this function:

void Socket::setReuseAddress ( int  sd)
protectednoexcept

Member Data Documentation

uint32_t Socket::socketBoundPort
protected
int Socket::socketDescr
protected

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