13 #ifdef RDBUF_ACCEPTS_STREAMBUF
21 TheHost =
new char [ strlen(host) +1 ];
40 #ifdef RDBUF_ACCEPTS_STREAMBUF
51 #if defined(LVL2_WINNT) || defined(STREAMBUF_NEW_IOSTREAM)
52 int remote_msg_buffer::pubsync ()
62 char *
x = format(&length, &mp);
65 #if defined(LVL2_WINNT) || defined(STREAMBUF_NEW_IOSTREAM)
66 for (ix =0; ix <
length; ix++)
68 original_streambuf->sputc( x[ix] );
70 ret = original_streambuf->pubsync();
72 for (ix =0; ix <
length; ix++)
74 original_streambuf->overflow( x[ix] );
76 ret = original_streambuf->sync();
79 send_string(x, length);
113 nwritten = write (fd, ptr, nleft);
120 return (nbytes-nleft);