FiberIO
Fiber-based C++ network library
Public Member Functions | List of all members
fiberio::detail::socket_device Class Reference

#include <iostream.hpp>

Inheritance diagram for fiberio::detail::socket_device:
Inheritance graph
[legend]
Collaboration diagram for fiberio::detail::socket_device:
Collaboration graph
[legend]

Public Member Functions

 socket_device (socket socket)
 
std::streamsize read (char *s, std::streamsize n)
 
std::streamsize write (const char *s, std::streamsize n)
 
void close (std::ios_base::openmode mode)
 

Detailed Description

Definition at line 15 of file iostream.hpp.

Constructor & Destructor Documentation

◆ socket_device()

fiberio::detail::socket_device::socket_device ( socket  socket)
inline

Definition at line 19 of file iostream.hpp.

Member Function Documentation

◆ close()

void fiberio::detail::socket_device::close ( std::ios_base::openmode  mode)
inline

Definition at line 36 of file iostream.hpp.

◆ read()

std::streamsize fiberio::detail::socket_device::read ( char *  s,
std::streamsize  n 
)
inline

Definition at line 23 of file iostream.hpp.

◆ write()

std::streamsize fiberio::detail::socket_device::write ( const char *  s,
std::streamsize  n 
)
inline

Definition at line 31 of file iostream.hpp.


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