ContRap-Core
Public Member Functions | Protected Attributes

crp::Socket Class Reference

Class Socket is a platform independent socket implementation. More...

#include <socket.h>

Inheritance diagram for crp::Socket:
crp::ClientSocket crp::ServerSocket

Public Member Functions

 Socket ()
 Creates a new empty client socket.
 ~Socket ()
 Disconnects.
void disconnect ()
 Disconnects from the socket.

Protected Attributes

int handle
 Handle of the socket.

Detailed Description

Class Socket is a platform independent socket implementation.


Constructor & Destructor Documentation

crp::Socket::Socket ( )

Creates a new empty client socket.

crp::Socket::~Socket ( )

Disconnects.


Member Function Documentation

void crp::Socket::disconnect ( )

Disconnects from the socket.


Field Documentation

int crp::Socket::handle [protected]

Handle of the socket.


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