22 #ifndef SOCKETSTREAM_H_
23 #define SOCKETSTREAM_H_
40 class socketstream :
public std::basic_streambuf<char, std::char_traits<char> >,
public std::iostream
53 virtual std::char_traits<char>::int_type
overflow(std::char_traits<char>::int_type = std::char_traits<char>::eof());
54 virtual std::char_traits<char>::int_type
underflow();
58 const size_t _bufsize;
61 std::vector<char> in_buf_;
63 std::vector<char> out_buf_;