|
std::ostream & | operator<< (std::ostream &stream, const IP &ip) |
|
std::ostream & | operator<< (std::ostream &stream, const IP::Network &network) |
|
std::ostream & | operator<< (std::ostream &stream, const MAC &mac) |
|
void | initialize () |
|
Try< Bytes > | contentLength (const std::string &url) |
|
Try< int > | download (const std::string &url, const std::string &path, const Option< Duration > &stall_timeout=None()) |
|
Try< int_fd > | socket (int family, int type, int protocol) |
|
bool | is_restartable_error (int error) |
|
bool | is_retryable_error (int error) |
|
bool | is_inprogress_error (int error) |
|
bool | is_socket (int fd) |
|
Try< std::array< int_fd, 2 > > | socketpair (int family, int type, int protocol) |
|
bool | wsa_initialize () |
|
bool | wsa_cleanup () |
|
Try< int_fd > | socket (int family, int type, int protocol, DWORD flags=WSA_FLAG_OVERLAPPED|WSA_FLAG_NO_HANDLE_INHERIT) |
|
int_fd | accept (const int_fd &fd, sockaddr *addr, socklen_t *addrlen) |
|
int | bind (const int_fd &fd, const sockaddr *addr, socklen_t addrlen) |
|
int | connect (const int_fd &fd, const sockaddr *address, socklen_t addrlen) |
|
ssize_t | send (const int_fd &fd, const void *buf, size_t len, int flags) |
|
ssize_t | recv (const int_fd &fd, void *buf, size_t len, int flags) |
|
Result< MAC > | mac (const std::string &name) |
|
struct addrinfo | createAddrInfo (int socktype, int family, int flags) |
|
Try< std::string > | getHostname (const IP &ip) |
|
Try< IP > | getIP (const std::string &hostname, int family=AF_UNSPEC) |
|
Try< std::set< std::string > > | links () |
|
Try< std::string > | hostname () |
|
Try< Nothing > | setHostname (const std::string &hostname) |
|
Error | GaiError (int error) |
|