summaryrefslogtreecommitdiff
path: root/lib/socket.h
diff options
context:
space:
mode:
authordeva <deva>2006-07-20 17:53:04 +0000
committerdeva <deva>2006-07-20 17:53:04 +0000
commitc8df40b62cf30029a4acd1a57c8c54add54dda9b (patch)
tree42d06a4d502c6e0fd0cdbf7f836fdaffd847efa5 /lib/socket.h
parenta09f1b932560f11caf34a567ee226446a496a584 (diff)
Utilized the global info object.
Utilized the global info object.
Diffstat (limited to 'lib/socket.h')
-rw-r--r--lib/socket.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/socket.h b/lib/socket.h
index df2a133..dde4729 100644
--- a/lib/socket.h
+++ b/lib/socket.h
@@ -37,12 +37,10 @@
#include <sys/socket.h>
#include <arpa/inet.h>
-#include "info.h"
-
class Socket {
public:
- Socket(Info *ginfo);
- Socket(u_short port, Info *ginfo);
+ Socket();
+ Socket(u_short port);
~Socket();
Socket slisten();
int sconnect(char *ip);
@@ -54,7 +52,6 @@ public:
bool connected;
private:
- Info *info;
int err;
};