summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/socket.h b/include/socket.h
index 556ee1a90..1f699dbd7 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -210,8 +210,9 @@ class CoreExport ListenSocket : public EventHandler
/** Called when a new connection has successfully been accepted on this listener.
* @param ipconnectedto The IP address the connection arrived on
* @param fd The file descriptor of the new connection
+ * @param incomingip The IP from which the connection was made
*/
- virtual void OnAcceptReady(const std::string &ipconnectedto, int fd);
+ virtual void OnAcceptReady(const std::string &ipconnectedto, int fd, const std::string &incomingip);
};
//class CoreExport ListenSocketClient : public ListenSocket