Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;