Tools/NetTest - TCP stack testing, going well
[tpg/acess2.git] / Tools / NetTest / include / tcpserver.h
1 /*
2  */
3 #ifndef _TCPSERVER_H_
4 #define _TCPSERVER_H_
5
6 #include <acess.h>
7 #include <vfs_ext.h>
8
9 typedef struct sNetTest_TCPServer       tNetTest_TCPServer;
10
11 extern tNetTest_TCPServer       *NetTest_TCPServer_Create(int Port);
12 extern void     NetTest_TCPServer_Close(tNetTest_TCPServer *Srv);
13 extern int      NetTest_TCPServer_FillSelect(tNetTest_TCPServer *Srv, fd_set *fds);
14 extern void     NetTest_TCPServer_HandleSelect(tNetTest_TCPServer *Srv, const fd_set *rfds, const fd_set *wfds, const fd_set *efds);
15
16 #endif
17

UCC git Repository :: git.ucc.asn.au