Classes | Namespaces | Typedefs | Functions
sockets.hpp File Reference

Cross platform socket api. More...

#include <string>
#include <ecl/config/ecl.hpp>
#include <ecl/errors/handlers.hpp>
#include "macros.hpp"
Include dependency graph for sockets.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ecl::SocketError
 Extends the generic error handler with socket specific error strings. More...
 

Namespaces

 ecl
 

Typedefs

typedef int ecl::socket_descriptor
 Cross-platform typedef for a socket file descriptor. More...
 

Functions

ecl_io_PUBLIC SocketError ecl::close_socket (const socket_descriptor &sock)
 Close a socket. More...
 
ecl_io_PUBLIC SocketError ecl::init_sockets ()
 Initialise the socket subsystem. More...
 
ecl_io_PUBLIC SocketError ecl::shutdown_sockets ()
 Shutdown the socket subsystem. More...
 

Detailed Description

Cross platform socket api.

Winsock references:

Getting Started

Date
February 2011.

Definition in file sockets.hpp.



ecl_io
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:16:11