NetCpp  v0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
server Class Reference

Server for IPv4 TCP communications. More...

#include <tcp_ip4.hpp>

Inheritance diagram for server:
Inheritance graph

Public Member Functions

 server (int max_pending_connections=100)
 Constructor.
- Public Member Functions inherited from AbstractSocket
bool close ()
 Close the socket.
AbstractSystemSocketgetSocket ()
 get the socket
int receive (__buffer buf, std::size_t size)
 Receive operation.
int send (__buffer buf, std::size_t size)
 Send operation.

Additional Inherited Members

- Protected Member Functions inherited from AbstractSocket
 AbstractSocket (const protocol &prot)
 Constructor.

Detailed Description

Server for IPv4 TCP communications.

Definition at line 85 of file tcp_ip4.hpp.

Constructor & Destructor Documentation

server ( int  max_pending_connections = 100)
inline

Constructor.

This constructor allocates a concrete class derived from net::AbstractSystemSocket.

Parameters
max_pending_connectionsNumber of maximum allowed pending connections

Definition at line 93 of file tcp_ip4.hpp.

:
AbstractSocket{protocol(STREAM, IPv4)},

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