Exported cServerHandle and cNetwork:Listen to Lua.

Also added an example to the NetworkTest plugin.
This commit is contained in:
Mattes D
2015-02-04 08:40:52 +01:00
parent 17498a97a2
commit 014b96adb3
15 changed files with 1145 additions and 15 deletions
+3
View File
@@ -90,6 +90,9 @@ public:
Sends the RST packet, queued outgoing and incoming data is lost. */
virtual void Close(void) = 0;
/** Returns the callbacks that are used. */
cCallbacksPtr GetCallbacks(void) const { return m_Callbacks; }
protected:
/** Callbacks to be used for the various situations. */
cCallbacksPtr m_Callbacks;