| 
    Claw
    1.7.3
    
   | 
 
Common interface for claw::net::basic_socketbuf and claw::net::socket_server. More...
#include <basic_socket.hpp>
  
 Public Member Functions | |
| basic_socket () | |
| Constructor.   | |
| basic_socket * | open () | 
| Open the socket.   | |
| basic_socket * | close () | 
| Close the socket.   | |
| bool | is_open () const | 
| Tell if the socket is open.  | |
Protected Attributes | |
| socket_traits::descriptor | m_descriptor | 
| File descriptor.  | |
Common interface for claw::net::basic_socketbuf and claw::net::socket_server.
Definition at line 46 of file basic_socket.hpp.
| claw::net::basic_socket::basic_socket | ( | ) | 
| claw::net::basic_socket * claw::net::basic_socket::close | ( | ) | 
Close the socket.
Definition at line 65 of file basic_socket.cpp.
References claw::socket_traits_unix::close(), and claw::socket_traits_unix::invalid_socket.
Referenced by claw::net::socket_server::close(), claw::net::basic_socketbuf< CharT, Traits >::close(), and claw::net::socket_server::open().
| claw::net::basic_socket * claw::net::basic_socket::open | ( | ) | 
Open the socket.
Definition at line 48 of file basic_socket.cpp.
References claw::socket_traits_unix::open(), and claw::socket_traits_unix::valid_descriptor().
Referenced by claw::net::socket_server::open(), and claw::net::basic_socketbuf< CharT, Traits >::open().
 1.8.1.2