1 #ifndef SOCKET_DATA_CLASS
2 #define SOCKET_DATA_CLASS
52 bool connected_mode =
true)
72 "interests=%s, conn_pending=%s",
a_sprintf is a specialization of astring that provides printf style support.
int length() const
Returns the current reported length of the allocated C array.
Provides a dynamically resizable ASCII character string.
const char * s() const
synonym for observe. the 's' stands for "string", if that helps.
A very common template for a dynamic array of bytes.
static basis::astring interest_name(int to_name)
socket_data(int socket=0, bool server=true, int server_socket=0, bool connected_mode=true)
basis::astring text_form() const
basis::byte_array _receive_buffer
basis::byte_array _partially_received
timely::time_stamp _last_conn_alert
int _registered_interests
basis::byte_array _partially_sent
Represents a point in time relative to the operating system startup time.
Provides access to the operating system's socket methods.