?? htreader.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 + -