X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Finspsocket.h;h=ae18afabd959df47a1f786aed78ca3a06743798f;hb=c5d8d3e3c6b7a5cb44572d9a9b6e5249d74cb1f7;hp=f094701c09450340844e047e35bb90d75f145f15;hpb=6953371f7133223ea85e815530320715bae43cc6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/inspsocket.h b/include/inspsocket.h index f094701c0..ae18afabd 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -159,15 +159,6 @@ class CoreExport BufferedSocket : public EventHandler * socket has timed out. */ bool timeout; - - /** - * Socket input buffer, used by read(). The class which - * extends BufferedSocket is expected to implement an extendable - * buffer which can grow much larger than 64k, - * this buffer is just designed to be temporary storage. - * space. - */ - char ibuf[65535]; /** * The IP address being connected @@ -332,7 +323,7 @@ class CoreExport BufferedSocket : public EventHandler * returns or linefeeds are appended to the string. * @param data The data to send */ - virtual int Write(const std::string &data); + virtual void Write(const std::string &data); /** * If your socket is a listening socket, when a new