#include <socket.hh>

| Classes | |
| struct | bad_address | 
| Public Types | |
| enum | Domain { Unix, Inet } | 
| enum | Type { Stream, Datagram } | 
| enum | Wait { WaitRead = 1, WaitWrite = 2, WaitException = 4 } | 
| Public Member Functions | |
| base_socket (int fd) | |
| base_socket (Domain domain, Type type) | |
| int | fd () const | 
| void | flush () const | 
| bool | try_wait (int what) const | 
| void | wait (int what) const | 
| ~base_socket () | |
| Protected Member Functions | |
| std::vector< uint8_t > | to_sockaddr (std::string const &to) const | 
| Private Member Functions | |
| int | wait (int what, timeval *tv) const | 
| Static Private Member Functions | |
| static int | to_unix (Domain d) | 
| static int | to_unix (Type t) | 
| Private Attributes | |
| Domain | m_domain | 
| int | m_fd | 
| Type | m_type | 
| utilmm::base_socket::base_socket | ( | int | fd | ) | 
| utilmm::base_socket::base_socket | ( | Domain | domain, | 
| Type | type | ||
| ) | 
| int utilmm::base_socket::fd | ( | ) | const | 
| void utilmm::base_socket::flush | ( | ) | const | 
| vector< uint8_t > utilmm::base_socket::to_sockaddr | ( | std::string const & | to | ) | const  [protected] | 
| int utilmm::base_socket::to_unix | ( | Domain | d | ) |  [static, private] | 
| int utilmm::base_socket::to_unix | ( | Type | t | ) |  [static, private] | 
| bool utilmm::base_socket::try_wait | ( | int | what | ) | const | 
| int utilmm::base_socket::wait | ( | int | what, | 
| timeval * | tv | ||
| ) | const  [private] | 
| void utilmm::base_socket::wait | ( | int | what | ) | const | 
| Domain utilmm::base_socket::m_domain  [private] | 
| int utilmm::base_socket::m_fd  [private] | 
| Type utilmm::base_socket::m_type  [private] |