Class Socket

Inheritance Relationships

Derived Types

Class Documentation

class Socket

Subclassed by O3DS::TcpSocket, O3DS::UdpSocket

Public Functions

Socket()
Socket(int)
virtual ~Socket()
inline bool Valid()
virtual void CreateSocket()
void SetBlocking(bool block)
int GetError()
void DestroySocket()
void Bind(unsigned short port)

Bind the server to a port.

Throws a SocketException if bind fails This method is called by listen, so likely does not need to be called directly

Public Members

int m_socket

The platform socket object.

bool deleteOnClose