]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socket.h
Add checks for AddIOHook failing
[user/henk/code/inspircd.git] / include / socket.h
index bc1197283fbf5aa23ef1ffbb7570cfcd3f840927..287726a0ce9a07e087ce22f5e77c0c5c809f8a29 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
  *                       E-mail:
  *                <brain@chatspike.net>
  *               <Craig@chatspike.net>
@@ -99,11 +99,16 @@ private:
        /**
         * Socket input buffer, used by read(). The class which
         * extends InspSocket is expected to implement an extendable
-        * buffer which can grow much larger than 16k,
+        * buffer which can grow much larger than 64k,
         * this buffer is just designed to be temporary storage.
         * space.
         */
-       char ibuf[16384];
+       char ibuf[65535];
+
+       /**
+        * The output buffer for this socket
+        */
+       std::string Buffer;
 
        /**
         * The IP address being connected