diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-30 20:35:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-30 20:35:49 +0000 |
commit | a77e32fa3267f022b4b0dd973c9b937534da9a5d (patch) | |
tree | 7f3b8f30cb850c4ee47555a80bd7dc4b639429a8 /include/inspsocket.h | |
parent | 706303e177d05afa6269d3a40cfde726854c52c3 (diff) |
Documentation change to indicate errno is valid on return from the constructor -- dont bother to svn up for this if youre testing right now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6463 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspsocket.h')
-rw-r--r-- | include/inspsocket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/inspsocket.h b/include/inspsocket.h index 43555ff43..1a959bd2d 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -201,6 +201,7 @@ class InspSocket : public EventHandler * @param port The port number to connect to, or bind to * @param listening true to listen on the given host:port pair, or false to connect to them * @param maxtime Number of seconds to wait, if connecting, before the connection times out and an OnTimeout() event is generated + * @return On exit, GetState() returns I_ERROR if an error occured, and errno can be used to read the socket error. */ InspSocket(InspIRCd* SI, const std::string &ipaddr, int port, bool listening, unsigned long maxtime); |