Claw 1.7.3
|
A class to use any socket as a classic standard stream. More...
#include <socket_stream.hpp>
Public Types | |
typedef CharT | char_type |
The type of the characters in the stream. | |
typedef Traits | traits_type |
The traits carry some informations about the char_type. | |
typedef traits_type::int_type | int_type |
The type used to represent integers. | |
typedef traits_type::pos_type | pos_type |
The type used to represent a position in the stream. | |
typedef traits_type::off_type | off_type |
The type used to represent a delta in the positions. | |
typedef basic_socketbuf< char_type, traits_type > | buffer_type |
The type of the buffer manipulated by this stream. | |
Public Member Functions | |
basic_socket_stream (int read_delay=-1) | |
basic_socket_stream (const char *address, int port, int read_delay=-1) | |
buffer_type * | rdbuf () const |
bool | is_open () const |
void | set_read_time_limit (int read_limit) |
void | open (const char *address, int port) |
void | open (int fd) |
void | close () |
A class to use any socket as a classic standard stream.
Definition at line 45 of file socket_stream.hpp.
basic_socketbuf<char_type, traits_type> claw::net::basic_socket_stream< CharT, Traits >::buffer_type |
The type of the buffer manipulated by this stream.
Definition at line 64 of file socket_stream.hpp.
CharT claw::net::basic_socket_stream< CharT, Traits >::char_type |
The type of the characters in the stream.
Definition at line 49 of file socket_stream.hpp.
traits_type::int_type claw::net::basic_socket_stream< CharT, Traits >::int_type |
The type used to represent integers.
Definition at line 55 of file socket_stream.hpp.
traits_type::off_type claw::net::basic_socket_stream< CharT, Traits >::off_type |
The type used to represent a delta in the positions.
Definition at line 61 of file socket_stream.hpp.
traits_type::pos_type claw::net::basic_socket_stream< CharT, Traits >::pos_type |
The type used to represent a position in the stream.
Definition at line 58 of file socket_stream.hpp.
Traits claw::net::basic_socket_stream< CharT, Traits >::traits_type |
The traits carry some informations about the char_type.
Definition at line 52 of file socket_stream.hpp.