Welcome to the FoxOS website!
socket_manager_socket::socket_manager_socket(int socket_type)
undefined
int socket_type
socket_manager_socket::~socket_manager_socket()
undefined
void socket_manager_socket::connect(uint32_t ip_be, uint16_t port)
uint32_t ip_be
uint16_t port
void
void socket_manager_socket::disconnect()
void
void socket_manager_socket::send(uint8_t* data, uint32_t size)
uint8_t* data
uint32_t size
void
int socket_manager_socket::receive(uint8_t* data, uint32_t size)
uint8_t* data
uint32_t size
int
bool socket_manager_socket::on_tcp_message(tcp_socket* socket, uint8_t* data, size_t size)
tcp_socket* socket
uint8_t* data
size_t size
bool
void socket_manager_socket::on_udp_message(udp_socket* socket, uint8_t* data, size_t size)
udp_socket* socket
uint8_t* data
size_t size
void
socket_manager::socket_manager() : sockets(10)
undefined
int socket_manager::alloc_socket()
int
void socket_manager::free_socket(int socket_id)
int socket_id
void
void socket_manager::register_socket(socket_manager_socket* sock)
socket_manager_socket* sock
void
socket_manager_socket* socket_manager::get_socket(int socket_id)
int socket_id
socket_manager_socket*