Files
cws/include/utils/net.h

14 lines
238 B
C

#ifndef CWS_NET_H
#define CWS_NET_H
#include <stdbool.h>
#include <sys/socket.h>
#include "utils/error.h"
cws_server_ret cws_fd_set_nonblocking(int sockfd);
void cws_utils_get_client_ip(struct sockaddr_storage *sa, char *ip);
#endif