diff options
author | Stijn Buys <ingar@osirion.org> | 2008-09-28 18:02:06 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-09-28 18:02:06 +0000 |
commit | f46be446304dcb2d609fcd2648fd36d3f2fda054 (patch) | |
tree | 36e194d6e2d9d8fc48d03c4b8bb56d63e12276cf /src/core/netserver.h | |
parent | fd778219e40c5fbb4d0af1839cbc313caaf10d9d (diff) |
intro module groundworks
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r-- | src/core/netserver.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h index 4dcae69..1d2e131 100644 --- a/src/core/netserver.h +++ b/src/core/netserver.h @@ -23,13 +23,17 @@ namespace core { -/// Network server +/// network server class NetServer { public: + /// type definition for a list of network clients typedef std::list<NetClient *> Clients; + /// create a new network server, listening on host:port NetServer(std::string const host, unsigned int const port); + + /// disconnect clients and shutdown the network server ~NetServer(); /*----- inspectors ------------------------------------------------ */ |