1 #ifndef RAW_SOCKET_CLASS
2 #define RAW_SOCKET_CLASS
126 fd_set_wrapper &write_list, fd_set_wrapper &exceptions)
const;
138 int inner_select(
basis::un_int socket,
int selection_mode,
int timeout,
139 fd_set_wrapper &read_list, fd_set_wrapper &write_list,
140 fd_set_wrapper &exceptions)
const;
Provides a dynamically resizable ASCII character string.
A simple object that wraps a templated array of ints.
DEFINE_CLASS_NAME("raw_socket")
bool set_nagle_algorithm(basis::un_int socket, bool use_nagle=true)
int close(basis::un_int &socket)
int select(basis::un_int socket, int selection_mode, int timeout=0) const
int analyze_select_result(basis::un_int socket, int mode, fd_set_wrapper &read_list, fd_set_wrapper &write_list, fd_set_wrapper &exceptions) const
bool set_reuse_address(basis::un_int socket, bool reuse=true)
int ioctl(basis::un_int socket, int request, void *argp) const
bool set_keep_alive(basis::un_int socket, bool keep_alive=true)
static basis::astring interest_name(int to_name)
bool set_broadcast(basis::un_int socket, bool broadcasting=true)
bool set_non_blocking(basis::un_int socket, bool non_blocking=true)
Helpful functions for interacting with TCP/IP stacks.
unsigned int un_int
Abbreviated name for unsigned integers.
Provides access to the operating system's socket methods.