claw::net::basic_osocket_stream< CharT, Traits > Class Template Reference

A class to use any socket as a classic standard output stream. More...

`#include <osocket_stream.hpp>`

Inheritance diagram for claw::net::basic_osocket_stream< CharT, Traits >:

## 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_osocket_stream (const std::string &address, int port)
buffer_type * | rdbuf () const
bool | is_open () const
void | open (const std::string &address, int port)
void | open (int fd)
void | close ()

## Detailed Description

### template<typename CharT, typename Traits = std::char_traits<CharT>>
class claw::net::basic_osocket_stream< CharT, Traits >

A class to use any socket as a classic standard output stream.

Author
  Julien Jorge

Definition at line 45 of file osocket_stream.hpp.

The documentation for this class was generated from the following file:

- osocket_stream.hpp