1 #ifndef SOCKET_MINDER_CLASS
2 #define SOCKET_MINDER_CLASS
34 class socket_data_amorph;
35 class socket_minder_prompter;
69 bool connected_mode,
bool connection_pending);
149 socket_data_amorph *_socket_list;
154 socket_minder_prompter *_prompter;
Provides a dynamically resizable ASCII character string.
A simple object that wraps a templated array of ints.
Manages a collection of mailboxes and implements delivery routes for mail.
void get_sockets(basis::int_array &read_sox, basis::int_array &write_sox, basis::int_array &pending) const
bool is_connection_pending(int socket)
bool handle_pending_connecters(socket_data &to_peek)
void put_pending_server(int to_put, bool at_head)
bool set_connection_pending(int socket, bool pending)
bool remove_socket_data(int socket)
bool register_interest(int socket, int interests)
virtual bool evaluate_interest(socket_data &to_examine)
bool zap_pending_server(int socket)
socket_data * lock_socket_data(int socket)
void push_sends(socket_data &to_poke, int states)
bool add_socket_data(int socket, bool server, int server_socket, bool connected_mode, bool connection_pending)
DEFINE_CLASS_NAME("socket_minder")
void push_receives(socket_data &to_poke, int states)
basis::astring text_form() const
bool owns_socket(int socket) const
void unlock_socket_data(socket_data *to_unlock)
socket_minder(processes::post_office &post, int parent_route, int event_type, int message)
Helpful functions for interacting with TCP/IP stacks.
A simple object that wraps a templated set of ints.
unsigned int un_int
Abbreviated name for unsigned integers.
Provides access to the operating system's socket methods.