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

#ifndef SERVER_TCP_H

#define SERVER_TCP_H

#include "server.h"
#include "tcp.h"

extern client_t* newTcpClient(sock_tcp_t *sock_tcp);
extern void destroyTcpClient(client_t *p);
extern int initTcpServer(char *ip, int port, int proto);
extern void eventTcpServer();
extern void quitTcpServer();

#endif