diff options
Diffstat (limited to 'src/net/ipc.h')
-rw-r--r-- | src/net/ipc.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/net/ipc.h b/src/net/ipc.h index 337e19ce8..b9960abce 100644 --- a/src/net/ipc.h +++ b/src/net/ipc.h @@ -30,19 +30,24 @@ public: /** * Constructor. */ - IPC(unsigned short port); - + IPC(const unsigned short port); + /** * Destructor. */ ~IPC(); - + bool init(); - unsigned short port(); + + unsigned short getPort() const A_WARN_UNUSED + { return mPort; } + static int acceptLoop(void *ptr); + static void start(); + static void stop(); - + private: bool mListen; unsigned int mNumReqs; |