AnCH Framework  0.1
Another C++ Hack Framework
Classes | Enumerations
anch::network Namespace Reference

Network namespace. More...

Classes

class  IOException
 
class  Socket
 
class  SocketEvent
 
class  TcpSocket
 
class  UdpSocket
 

Enumerations

enum  SocketType { UNKNOWN = 0, TCP, UDP, POSIX }
 
enum  Direction { RECEPTION = 0, TRANSMISSION = 1, BOTH = 2 }
 

Detailed Description

Network namespace.

It contains classes to manage network data management.
For now only TCP and UDP are implemented and needed some work to be use easier. Transport layers (such as HTTP) should be implemented soon.

Enumeration Type Documentation

Socket direction.
Usefull for shutdown method.

Author
Vincent Lachenal
Enumerator
RECEPTION 

Reception

TRANSMISSION 

Transmission

BOTH 

Reception and transmission

Socket type enumerations

Author
Vincent Lachenal
Enumerator
UNKNOWN 

Unknown socket

TCP 

TCP socket

UDP 

UDP socket

POSIX 

POSIX socket (not available for Microsoft Windows TM operating system)