sprint 1-alpha
Classes | Namespaces | Typedefs
sprint/io/network/socket.h File Reference

sprint::socket More...

#include <sprint/network_headers.h>
#include <sprint/cpptraits.h>
#include <sprint/io/network/nettools.h>

Go to the source code of this file.

Classes

class  sprint::detail::socket< bManaged >
 wrapper for Berkeley Socket More...
class  sprint::detail::udp_socket< bManaged >
 A SOCK_DGRAM socket. More...
class  sprint::detail::multicast_socket< bManaged >
 A MCast Socket. More...
class  sprint::detail::tcp_socket< bManaged >
 A SOCK_STREAM socket. More...

Namespaces

namespace  sprint
 

Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux.


Typedefs

typedef detail::socket< true > sprint::socket
 a socket descriptor released with destructor
typedef detail::socket< false > sprint::socket_handle
 a socket descriptor unreleased
typedef detail::udp_socket< true > sprint::udp_socket
 A Datagram Socket.
typedef detail::udp_socket< false > sprint::udp_socket_handle
typedef detail::tcp_socket< true > sprint::tcp_socket
 A stream socket.
typedef detail::tcp_socket< false > sprint::tcp_socket_handle

Detailed Description

sprint::socket

Author:
Paolo Medici
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines