1 #ifndef __BufferedWriter_Growable_H__ 2 #define __BufferedWriter_Growable_H__ 19 void Reset() { clear(); _write_offset = 0; };
56 return (
int) (size() - _write_offset);
81 return data() + _write_offset;
99 int Writen = sck.SendData(out1,Writesize);
102 _write_offset += Writen;
107 if(GETERROR() != LOCAL_BLOCKING_ERROR)
115 #endif //__BufferedWriter_Growable_H__ Base functionality for a TCP connected socket This class is pretty useless by itself but it does hide...
const char * GetMessageHead(void)
Return type : inline const Argument : void.
BufferedWriter_Growable(void)
Return type : inline Argument : void.
int AmountBuffered(void)
Return type : inline int Argument : void.
int Flush(Socket_TCP &sck)
Return type : inline int Argument : SocketTCP_Gm &sck.
void AppendData(const char *buf, int len)
Return type : inline void Argument : const char * buf Argument : int len.
~BufferedWriter_Growable(void)
Return type : inline Argument : void.