亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? hthost.h

?? www工具包. 這是W3C官方支持的www支撐庫. 其中提供通用目的的客戶端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
?? H
?? 第 1 頁 / 共 2 頁
字號:
any pending Net objects and return the first ofthese Net objects.*/extern HTNet * HTHost_nextPendingNet (HTHost * host);/*The second checks the list of pending host objects waiting for a socket andreturns the first of these Host objects.*/extern HTHost * HTHost_nextPendingHost (void);/*(  Start the Next Pending reqeust)Start the next pending request if any. First we look for pending requestsfor the same host and then we check for any other pending hosts. If nothingpending then register a close event handler to have something catching thesocket if the remote server closes the connection, for example due to timeout.*/extern BOOL HTHost_launchPending (HTHost * host);/*(  Stop Launch of Pending Requests)Controls whether pending requests should be automatically activated. Thedefault is on, but if turned off then no pending requests are launched.*/extern void HTHost_enable_PendingReqLaunch (void);extern void HTHost_disable_PendingReqLaunch (void);/*.  Persistent Connections.We don't want more than (Max open sockets) - 2 connections to be persistentin order to avoid deadlock. You can set the max number of simultaneous openconnection in the HTNet manager.(  Is this host Persistent?)*/extern BOOL HTHost_setPersistent (HTHost * host, BOOL persistent,                                  HTTransportMode mode);extern BOOL HTHost_isPersistent (HTHost * host);/*(  Persistent Connection Timeouts)If the server doesn't close the connection on us then we close it after awhile so that we don't unnecessarily take up resources (see also how thetimeouts of individual requests can be set).Libwww provides two mechanisms: an active timeout and a passive timeout.The former uses libwww timers and is the preferredmechanism, the latter passively looks at the Host object when a new requestis issued in order to determine whether the existing channel can be reused.This is primariliy for non-preemptive requests which in general is deprecated.By default we have an active timeout of 60 secs and a passive timeout of120 secs (the latter is longer as this is less reliable). Active timeouts can be accessed using these functions:*/extern BOOL HTHost_setActiveTimeout (ms_t timeout);extern ms_t HTHost_activeTimeout (void);/*and passive timeouts can be accessed using these functions*/extern time_t HTHost_persistTimeout (void);extern BOOL HTHost_setPersistTimeout (time_t timeout);/*The following two functions are deprecated:*/extern void HTHost_setPersistExpires (HTHost * host, time_t expires);extern time_t HTHost_persistExpires (HTHost * host);/*(  Keeping Track of Number of Reqeusts)Another way to detect when a connection is about to close is to count thenumber of requests made. For example, the (current) default bevaior by mostApache servers is to close a TCP connection after 100 requests. I don't quitethink it makes sense to control the close of a connection like this but anyway,there we go.*/extern void HTHost_setReqsPerConnection (HTHost * host, int reqs);extern int HTHost_reqsPerConnection (HTHost * host);extern void HTHost_setReqsMade (HTHost * host, int reqs);extern int HTHost_reqsMade (HTHost * host);/*.  Read and Write Management.Which Net object can read and/or write? When doingpipelining, we essentially serialize requests and therefore we must keeptrack of who can read and who can write.(  Get the Next Net object for Reading and Writing)*/extern HTNet * HTHost_firstNet     (HTHost * host);extern HTNet * HTHost_getReadNet  (HTHost * host);extern HTNet * HTHost_getWriteNet (HTHost * host);/*(  Get input and output Streams for this Host)*/extern HTInputStream * HTHost_getInput (HTHost * host, HTTransport * transport,				        void * param, int mode);extern HTOutputStream * HTHost_getOutput (HTHost * host, HTTransport * tp,					  void * param, int mode);/*(  Reading Data and Keeping Track of how Much)Because of the push streams, the streams must keep track of how much dataactually was consumed by that stream.*/extern int HTHost_read(HTHost * host, HTNet * net);extern BOOL HTHost_setConsumed(HTHost * host, size_t bytes);extern BOOL HTHost_setRemainingRead(HTHost * host, size_t remainaing);extern size_t HTHost_remainingRead (HTHost * host);/*.  Pipelining Requests.When possible, we try to pipeline requests onto the same connection as thissaves a lot of time and leads to much higher throughput.(  How many Requests can we Pipeline onto the same Connection?)Use these functions to set the max number of requests that can be pipelinedat any one time on a single, persistent connection. The higher the number,the more we have to recover if the server closes the connection prematurely.The default is about 50 requests which is enough to fill most links.*/extern BOOL HTHost_setMaxPipelinedRequests (int max);extern int HTHost_maxPipelinedRequests (void);/*(  How many Pending and Outstanding Net objects are there on a Host?)You can query how many Het objects (essentially requests) are outstandingor pending on a host object using these methods:*/extern int HTHost_numberOfOutstandingNetObjects (HTHost * host);extern int HTHost_numberOfPendingNetObjects (HTHost * host);/*(  Pipeline Recovery)Pipelines normally run by themselves (requests are issued and responsesrecieved). However, it may be necessry to either prematurely abort a pipelineor to recover a broken pipeline due to communication problems with the server.In case a pipeline is broken then we have to recover it and start again.This is handled automatically by the host object, so you do not have to callthis one explicitly.*/extern BOOL HTHost_recoverPipe (HTHost * host);extern BOOL HTHost_doRecover (HTHost * host);/*(  Kill a Pipeline)Call this function to terminate all requests (pending as well as active)registered with a host object. This is typically the function that handlestimeout, abort (user hits the red button, etc). You can also use theHTNet object kill method which in terms call thisfunction.*/extern BOOL HTHost_killPipe (HTHost * host);/*.  Event Management.These functions are used to register and unregister events (read, write,etc.) so that the host object knows about it.*/extern int HTHost_register(HTHost * host, HTNet * net, HTEventType type);extern int HTHost_unregister(HTHost * host, HTNet * net, HTEventType type);extern int HTHost_tickleFirstNet(HTHost * host, HTEventType type);extern SockA * HTHost_getSockAddr(HTHost * host);/*(  Request Timeouts)Events can be assigned a timeout which causes the event to be triggered ifthe timeout happens before other action is available on the socket. You canassign a global timeout for all host object using the following methods.The default is no timeout.*/extern int HTHost_eventTimeout (void);extern void HTHost_setEventTimeout (int millis);/*.  Delayed Flush Timer.These methods can control how long we want to wait for a flush on a pipelinedchannel. The default is 30ms which is OK in most situations.*/extern BOOL HTHost_setWriteDelay (HTHost * host, ms_t delay);extern ms_t HTHost_writeDelay (HTHost * host);extern int HTHost_findWriteDelay(HTHost * host, ms_t lastFlushTime, int buffSize);/*It is also possible to explicitly require a flush using the following method.This can also be set directly in the request objectfor a single request.*/extern int HTHost_forceFlush(HTHost * host);/*You can also set the global value so that all new host objects (andtherefore all new requests) will inherit this value instead of setting itindividually.*/extern BOOL HTHost_setDefaultWriteDelay (ms_t delay);extern ms_t HTHost_defaultWriteDelay (void);/*.  Multi homed Host Management.We keep track of hosts with multiple IP addresses - socalled multi-homedhosts. This is used for two things: finding the fastest IP address ofthat host and as a backup if one or more of the hosts are down. This is handledin connection with the DNS manager*/extern BOOL HTHost_setHome (HTHost * host, int home);extern int HTHost_home (HTHost * host);extern BOOL HTHost_setRetry (HTHost * host, int retry);extern int HTHost_retry (HTHost * host);extern BOOL HTHost_decreaseRetry (HTHost * host);/*.  Notify Request that it has become Active.A new callback plugged to the activation of a request which allows an applicationto know when a request has become active.*/typedef int HTHost_ActivateRequestCallback (HTRequest * request);extern void HTHost_setActivateRequestCallback		(HTHost_ActivateRequestCallback * cbf);/**/#endif /* HTHOST_H *//*    @(#) $Id: HTHost.html,v 2.29 1999/07/07 15:43:28 frystyk Exp $*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品欧美日韩精品 | 欧美美女bb生活片| 一区二区三区四区在线播放 | 亚洲欧洲综合另类在线| 激情亚洲综合在线| 精品国产一区二区三区久久影院 | 91精品国产综合久久久久| 亚洲午夜精品在线| 欧美日本一区二区在线观看| 午夜精品久久一牛影视| 91精品国产日韩91久久久久久| 久久91精品国产91久久小草| 久久免费电影网| 成人白浆超碰人人人人| 一区二区在线看| 欧美日韩国产大片| 国内欧美视频一区二区| 欧美激情艳妇裸体舞| 94-欧美-setu| 偷拍亚洲欧洲综合| 国产亚洲制服色| 94-欧美-setu| 麻豆精品在线视频| 国产精品嫩草99a| 欧美丝袜丝交足nylons图片| 精品亚洲欧美一区| 精品久久久久久久久久久久久久久久久 | 欧美成va人片在线观看| 粉嫩绯色av一区二区在线观看| 亚洲丝袜精品丝袜在线| 日韩一区二区视频在线观看| 国产成人免费视| 一区二区免费视频| 精品sm在线观看| 91国偷自产一区二区开放时间| 日本不卡的三区四区五区| 欧美激情自拍偷拍| 欧美日韩三级在线| 国产麻豆欧美日韩一区| 亚洲不卡av一区二区三区| 国产丝袜在线精品| 欧美肥妇free| 91碰在线视频| 狠狠色丁香久久婷婷综合_中| 有码一区二区三区| 久久精品这里都是精品| 欧美视频一区在线| 成人的网站免费观看| 全国精品久久少妇| 亚洲欧美日韩一区| 国产日本欧洲亚洲| 91精品国产日韩91久久久久久| 91亚洲精品乱码久久久久久蜜桃| 久久99热狠狠色一区二区| 一区二区三区91| 亚洲天堂中文字幕| 久久精品网站免费观看| 欧美精品在线一区二区| 99久久久国产精品| 国产福利91精品| 蜜臀a∨国产成人精品| 亚洲综合丝袜美腿| 中文字幕av一区二区三区| 精品噜噜噜噜久久久久久久久试看 | 国产一区二区三区不卡在线观看 | 精品嫩草影院久久| 88在线观看91蜜桃国自产| 一本色道久久加勒比精品 | 蜜桃在线一区二区三区| 亚洲电影一区二区三区| 亚洲美女免费在线| 亚洲天堂免费看| 一区在线观看视频| 国产精品美女久久久久av爽李琼| 精品88久久久久88久久久| 在线观看91精品国产麻豆| 色综合一区二区三区| av在线播放一区二区三区| 国产成人久久精品77777最新版本| 国产一区二区在线观看免费| 久久国产精品99久久久久久老狼| 日韩二区在线观看| 日韩国产一二三区| 蜜桃视频在线一区| 久久精品久久综合| 韩国一区二区三区| 国产精品自拍一区| 理论片日本一区| 久久99精品久久久久久国产越南| 久久99精品视频| 国产成人综合在线| 国产成人免费视| 91视频一区二区| 欧美美女直播网站| 欧美一级二级三级蜜桃| 亚洲精品一区二区三区精华液 | wwwwww.欧美系列| 欧美精品一区二区三区蜜桃视频| 欧美xingq一区二区| 国产亚洲欧洲997久久综合| 久久久综合九色合综国产精品| 中国色在线观看另类| 亚洲人精品午夜| 视频一区国产视频| 久久99久久99精品免视看婷婷| 精品一二三四区| 97久久精品人人澡人人爽| 日本乱人伦一区| 欧美电影精品一区二区| 亚洲国产精华液网站w| 一区在线中文字幕| 免费欧美在线视频| 成人一区二区三区| 在线观看不卡视频| 精品日产卡一卡二卡麻豆| 7777精品伊人久久久大香线蕉经典版下载 | 精品欧美一区二区三区精品久久| 亚洲国产精品国自产拍av| 亚洲精品中文字幕乱码三区| 亚洲高清久久久| 国产自产v一区二区三区c| www.成人网.com| 91麻豆精品国产无毒不卡在线观看| 久久日一线二线三线suv| 国产精品第13页| 日本女优在线视频一区二区| 国产高清在线精品| 欧美日韩一区二区三区不卡| 久久精品一区八戒影视| 一区二区三区中文字幕在线观看| 午夜精品久久久久久久久久| 九九九久久久精品| 欧洲国内综合视频| 制服视频三区第一页精品| 国产精品久久久久毛片软件| 日韩1区2区3区| 99久久综合狠狠综合久久| 日韩一区二区在线看| 一区二区三区欧美久久| 国内外成人在线| 欧美二区三区91| 亚洲色图另类专区| 国产伦精品一区二区三区免费 | 国产成人午夜精品影院观看视频 | 日韩女优av电影在线观看| 久久亚洲欧美国产精品乐播| 亚洲高清不卡在线观看| 国产.欧美.日韩| www成人在线观看| 老司机午夜精品| 欧美午夜宅男影院| 亚洲欧美在线视频观看| 国产毛片精品一区| 欧美成va人片在线观看| 日韩电影在线一区二区三区| 欧美视频在线一区二区三区 | 亚洲高清在线精品| 91蝌蚪国产九色| 中文字幕一区二区三中文字幕| 一级日本不卡的影视| 色婷婷av一区二区| 自拍偷拍欧美激情| 91在线国产福利| 国产精品网曝门| 成人激情小说乱人伦| 国产日韩亚洲欧美综合| 久久精品国产澳门| 欧美一区日本一区韩国一区| 亚洲高清在线精品| 欧美精品99久久久**| 亚洲va天堂va国产va久| 欧美视频一区二区| 亚洲国产精品久久艾草纯爱| 欧美影片第一页| 亚洲午夜久久久久久久久电影院| 在线观看一区日韩| 亚洲精品国产a| 日本高清不卡在线观看| 亚洲精品国产品国语在线app| 色综合中文综合网| 男人的j进女人的j一区| 欧美丰满少妇xxxxx高潮对白| 日韩精品每日更新| 国产成人亚洲精品青草天美| 欧美激情一区二区| 99免费精品视频| 亚洲国产精品综合小说图片区| 91国偷自产一区二区三区成为亚洲经典| 一区二区在线观看视频| 欧美午夜精品一区二区三区| 日韩电影免费在线看| 精品电影一区二区三区| 国v精品久久久网| 综合电影一区二区三区 | 国产精品久久久久影院亚瑟| 91伊人久久大香线蕉| 亚洲妇女屁股眼交7| 精品三级av在线| 成人短视频下载 | 蜜桃av一区二区在线观看|