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

namespace  ecl

Typedefs

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

Functions

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

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 Wed Aug 26 2015 11:27:18