Cross platform socket api. More...
#include <string>
#include <ecl/config/ecl.hpp>
#include <ecl/errors/handlers.hpp>
#include "macros.hpp"
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. |
Cross platform socket api.
Winsock references:
Getting Started
Definition in file sockets.hpp.