From 68db829db66dbf8faad5bd8df35760b5af3a1491 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 3 May 2006 08:42:32 +0000 Subject: Sweet, all changes from the (once again 1 rev) branch have been merged back in. Now to finalize the changes in my other programs. --- src/connectionmonitor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/connectionmonitor.h') diff --git a/src/connectionmonitor.h b/src/connectionmonitor.h index b96b533..01b2cca 100644 --- a/src/connectionmonitor.h +++ b/src/connectionmonitor.h @@ -25,10 +25,12 @@ public: /** Receives the notification that new connection was received. *@param pCon The connection that was created. + *@param nSocket The socket that the client connected to, used to determine + * which protocol to apply. *@returns Should return a true value if everything is OK, a false to * force a shutdown. */ - virtual bool onNewConnection( Connection *pCon ) = 0; + virtual bool onNewConnection( Connection *pCon, int nPort ) = 0; /** Receives the notification that a connection was closed. *@param pCon The connection that was closed. -- cgit v1.2.3