]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Documentation change to indicate errno is valid on return from the constructor -...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 30 Jan 2007 20:35:49 +0000 (20:35 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 30 Jan 2007 20:35:49 +0000 (20:35 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6463 e03df62e-2008-0410-955e-edbf42e46eb7

include/inspsocket.h

index 43555ff438cc27e2fd154741473323abdb4937c0..1a959bd2d61e1da150f0dd05977dccd94457384a 100644 (file)
@@ -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);