|
claw
1.9.0
|
Common interface for claw::net::basic_socketbuf and claw::net::socket_server. More...
#include <basic_socket.hpp>

Public Member Functions | |
| basic_socket () | |
| Constructor. More... | |
| basic_socket * | open () |
| Open the socket. More... | |
| basic_socket * | close () |
| Close the socket. More... | |
| 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 47 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 60 of file basic_socket.cpp.
| claw::net::basic_socket * claw::net::basic_socket::open | ( | ) |
Open the socket.
Definition at line 44 of file basic_socket.cpp.
1.8.14