ios->out_eof = FALSE;
void io_stream_init(io_stream *ios, const char* name,                    circ_buf *inbuf, circ_buf *outbuf){	assert(ios != NULL);	assert(inbuf != NULL);	assert(outbuf != NULL);	ios->fd_in  = -1;	ios->fd_out = -1;	ios->socktype = 0;  /* unknown */	ios->buf_in  = inbuf;	ios->buf_out = outbuf;	ios->mtu = 0; /* unlimited */	ios->nru = 0; /* unlimited */	ios->half_close_suppress = FALSE;	ios->hold_time = -1; /* infinite */	timerclear(&(ios->read_closed));	ios->name = name;	ios->rcvd = 0;	ios->sent = 0;}