13#include <clod/stream.h>
18#define clod_ipv4(a, b, c, d) ((char[16]){0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xFF, a, b, c, d})
54CLOD_API CLOD_NONNULL(1)
64CLOD_API CLOD_NONNULL(1)
73CLOD_API CLOD_NONNULL(1)
int clod_tcp_server(clod_socket *socket, int flags)
int clod_tcp_client(clod_socket *socket, int flags)
int clod_udp(clod_socket *socket, int flags)
unsigned char remote_addr[16]
Remote IP address.
unsigned short remote_port
Remote port number.
unsigned short local_port
Local port number.
unsigned char local_addr[16]
Local IP address.