diff options
Diffstat (limited to 'src/network.h')
-rw-r--r-- | src/network.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h index 72d5826..d1f68c0 100644 --- a/src/network.h +++ b/src/network.h @@ -29,10 +29,11 @@ #include "socket.h" #include "package.h" +#include "error.h" class Network { public: - Network(Socket *gs); + Network(Socket *gs, Error* err = NULL); ~Network(); // Raw communication @@ -44,6 +45,7 @@ public: int recvPackage(n_header *h, void* buf, int bufsz); private: + Error *error; Socket *s; }; |