#include <stdio.h>
#include <net/socket.h>
#include "nettest.h"
#include "print_error.h"
Go to the source code of this file.
Functions | |
void | print_mark (int index) |
Prints a mark. | |
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_create (int verbose, int *socket_ids, int sockets, int family, sock_type_t type) |
Creates new 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 (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_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. |
Definition in file nettest.c.