summaryrefslogtreecommitdiff
path: root/src/base/udp_server.h
blob: 85a6f8e4bc2d9b0f404037d8817cc90c967481fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#ifndef SERVER_UDP_H

#define SERVER_UDP_H

#include "server.h"
#include "udp.h"

extern client_t *newUdpClient(sock_udp_t * sock_udp);
extern void destroyUdpClient(client_t * p);
extern int initUdpServer(char *ip4, int port4, char *ip6, int port6);
extern void setServerUdpSelect();
extern int selectServerUdpSocket();
extern void quitUdpServer();

#endif