aether::tcp Namespace Reference

Classes

class  async_connector
 
struct  connect_result
 

Functions

 HADEAN_PACK (struct service_location{char host[256];char port[16];})
 
void socket_set_nonblocking (const os_socket sockfd)
 
bool last_error_is_would_block ()
 
void close_socket (const os_socket sockfd)
 
os_socket connect_to_host_port (const char *host, const char *port)
 
os_socket connect_to_host_port_with_timeout (const char *host, const char *port, int seconds=600)
 

Function Documentation

void aether::tcp::close_socket ( const os_socket  sockfd)
os_socket aether::tcp::connect_to_host_port ( const char *  host,
const char *  port 
)
os_socket aether::tcp::connect_to_host_port_with_timeout ( const char *  host,
const char *  port,
int  seconds = 600 
)
aether::tcp::HADEAN_PACK ( struct service_location{char host[256];char port[16];}  )
bool aether::tcp::last_error_is_would_block ( )
void aether::tcp::socket_set_nonblocking ( const os_socket  sockfd)