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

Server for local stream communications. More...

#include <stream_local.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 local stream communications.

Definition at line 69 of file stream_local.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 77 of file stream_local.hpp.

:
AbstractSocket{protocol(STREAM, LOCAL)},

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