Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-21 20:24:36 +0000
committerStijn Buys <ingar@osirion.org>2008-03-21 20:24:36 +0000
commitc11524901b338a53eee2a9f0ae9caa834a5ee76c (patch)
tree99082d805d4293706c3c0a7c67b6ee6b58a6e21a /src/core/netclient.h
parent549f90727d321cd6cf8850e8b510beba36925a82 (diff)
single server socket
Diffstat (limited to 'src/core/netclient.h')
-rw-r--r--src/core/netclient.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/netclient.h b/src/core/netclient.h
index 2fde530..1a7c716 100644
--- a/src/core/netclient.h
+++ b/src/core/netclient.h
@@ -55,12 +55,10 @@ public:
void retreive(std::string & message);
/// transmit buffered outgoing data
- void transmit();
+ void transmit(int serverfd);
inline bool error() const { return client_error; }
- inline int fd() const { return client_fd; }
-
void abort();
enum State {Connecting=0, Connected=1};
@@ -75,7 +73,6 @@ private:
int client_port;
Player client_player;
bool client_error;
- int client_fd;
std::string messageblock;
std::deque<std::string> recvq;