Manages Read and Write to and from the Network

/*
**	(c) COPYRIGHT MIT 1995.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
This module defines the read and write functions to and from the network. As we are having reentrant function and a smarter network I/O this will get very small :-)

This module is implemented by HTReader.c, and it is a part of the W3C Reference Library.

#ifndef HTREADER_H
#define HTREADER_H

#include "HTIOStream.h"

Input Buffering

In order to optimize reading a channel, we bind a buffer to each channel object. The size of this buffer is a compromise between speed and memory. Here it is chosen as the default TCP High Water Mark (sb_hiwat) for receiving data. By default, we have chosen a value that equals the normal TCP High Water Mark (sb_hiwat) for receiving data.
#define INPUT_BUFFER_SIZE 8192

Read Stream

extern HTInput_new HTReader_new;
#endif


@(#) $Id: HTReader.html,v 2.2 1996/04/14 01:23:20 frystyk Exp $