19 #ifndef __CONNECTION_H__
20 #define __CONNECTION_H__
22 #include "../util/typedefs.h"
23 #include "../util/socket.h"
27 BOOL Connect(
string address,
short port, vector<CSocket> &sockets,
int id);
28 BOOL Listen(
string address,
short port, vector<vector<CSocket> > &sockets,
int numConnections,
int myID);
CBitVector Implementation.