#include <utilmm/system/socket.hh>
|
| std::vector< uint8_t > | to_sockaddr (std::string const &to) const |
| |
| Enumerator |
|---|
| Stream |
|
| Datagram |
|
| Enumerator |
|---|
| WaitRead |
|
| WaitWrite |
|
| WaitException |
|
| utilmm::base_socket::base_socket |
( |
int |
fd | ) |
|
| utilmm::base_socket::base_socket |
( |
Domain |
domain, |
|
|
Type |
type |
|
) |
| |
| utilmm::base_socket::~base_socket |
( |
| ) |
|
| int utilmm::base_socket::fd |
( |
| ) |
const |
Get the socket file descriptor
| void utilmm::base_socket::flush |
( |
| ) |
const |
Flush all buffers related to this socket
| std::vector<uint8_t> utilmm::base_socket::to_sockaddr |
( |
std::string const & |
to | ) |
const |
|
protected |
| bool utilmm::base_socket::try_wait |
( |
int |
what | ) |
const |
Non-blocking version of wait
- Parameters
-
| what | an OR-ed field of values in the Wait enum |
- Returns
- true if the event was present and false otherwise
| void utilmm::base_socket::wait |
( |
int |
what | ) |
const |
Blocks until one of the specified events is detected on this socket
- Parameters
-
| what | an OR-ed field of values in the Wait enum |
The documentation for this class was generated from the following file: