AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
anch::network Namespace Reference

Network namespace. More...

Classes

class  IOException
 
class  Socket
 
class  SocketEvent
 
class  TcpSocket
 
class  TcpStream
 
class  TcpStreamClient
 TCP stream client. More...
 
class  TcpStreamServer
 TCP stream server. More...
 
class  UdpSocket
 

Enumerations

enum class  SocketType { UNKNOWN = 0 , TCP , UDP , POSIX }
 
enum class  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

◆ Direction

enum class anch::network::Direction
strong

Socket direction.
Usefull for shutdown method.

Author
Vincent Lachenal
Enumerator
RECEPTION 

Reception

TRANSMISSION 

Transmission

BOTH 

Reception and transmission

◆ SocketType

enum class anch::network::SocketType
strong

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)