⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htreader.h

📁 www工具包
💻 H
字号:
/*      					W3C Sample Code Library Socket Reader Stream!  Socket Reader Stream!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*The Socket Reader Stream is an input stream which knows how to read from a BSD type socket. It is partof the Transport interface and may be registeredas part of a Transport Object. The applicationcan initialize this stream together with theHTWriter stream, for example. In thedefault initialization module, you can find theHTTransportInit() function which sets up this stream as a defaulttransport for handling socket read operations.This module is implemented by HTReader.c, and itis a part of the  W3C Sample CodeLibrary.*/#ifndef HTREADER_H#define HTREADER_H#include "HTIOStream.h"/*.  Input Buffering.In order to optimize reading a channel, we bind a buffer to each channelobject. 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 receivingdata. By default, we have chosen a value that equals the normal TCP HighWater Mark (sb_hiwat) for receiving data.*/#define INPUT_BUFFER_SIZE    32*1024/*.  Read Stream.*/extern HTInput_new HTReader_new;/**/#endif/*    @(#) $Id: HTReader.html,v 2.6 1998/05/14 02:10:57 frystyk Exp $*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -