Networking test support functions. More...
#include "../include/socket.h"
Functions | |
void | print_mark (int index) |
Prints a mark. | |
int | sockets_create (int verbose, int *socket_ids, int sockets, int family, sock_type_t type) |
Creates new sockets. | |
int | sockets_close (int verbose, int *socket_ids, int sockets) |
Closes sockets. | |
int | sockets_connect (int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen) |
Connects sockets. | |
int | sockets_sendto (int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen, char *data, int size, int messages) |
Sends data via sockets. | |
int | sockets_recvfrom (int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages) |
Receives data via sockets. | |
int | sockets_sendto_recvfrom (int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages) |
Sends and receives data via sockets. |
Networking test support functions.