diff options
Diffstat (limited to 'src/core/netconnection.h')
-rw-r--r-- | src/core/netconnection.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/netconnection.h b/src/core/netconnection.h index 8aa0727..ffab093 100644 --- a/src/core/netconnection.h +++ b/src/core/netconnection.h @@ -7,6 +7,8 @@ #ifndef __INCLUDED_CORE_NETCONNECTION_H__ #define __INCLUDED_CORE_NETCONNECTION_H__ +#include "core/net.h" + #include <unistd.h> #include <errno.h> @@ -20,8 +22,6 @@ #include <sys/select.h> #include <netdb.h> -#else -#include <windows.h> #endif #include <string> @@ -81,6 +81,9 @@ public: /// send an info request void send_info_request(Info *info); + + /// send an inventory udpate request + void send_inventory_request(Entity *entity); /// transmit messages in the send queue to the remote server void transmit(); |