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

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

?? t-config.htm

?? Last Update: Jan 22 2009 可靠UDP傳輸, 一套高效的基于windows平臺的C++ 開發庫
?? HTM
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Introduction</title>
<link rel="stylesheet" href="udtdoc.css" type="text/css" />
</head>

<body>
<div class="ref_head">&nbsp;UDT Tutorial</div>

<h3><font color="#000080">Configure UDT Options</font></h3>
<p>Options of UDT are read and set through <a href="opt.htm"><strong>getsockopt</strong></a> and <a href="opt.htm"><strong>setsockopt</strong></a> methods. Before modifying any option, bear in mind that it is NOT required that you modify the default options. If the application has sound performance with the default options, just use the default configurations.</p>

<p><strong>UDT_MSS</strong> is used to configure the packet size. In most situations, the optimal UDT packet size is the network MTU size. The default value is 1500 bytes. A UDT connection will choose the 
smaller value of the MSS between the two peer sides. For example, if you want to set 9000-byte MSS, you have to set this option at both sides, and one of the value has to be exactly equal to 
9000, and the other must not be less than 9000.</p>

<p>UDT uses a different semantics of synchronization mode from traditional sockets. It can set the sending and receiving synchronization independently, which allows more flexibility. 
However, UDT does not allow non-blocking operation on connection setup and close. The sychronization mode of sending and receiving can be set on <strong>UDT_SNDSYN</strong> and <strong>UDT_RCVSYN</strong>, respectively.</p>

<p>The UDT buffer size is (<strong>UDT_SNDBUF</strong> and <strong>UDT_RCVBUF</strong>) used to limit the size of temporary storage of sending/receiving data. The buffer size is only a limit and memory is allocated upon necessary. Generally, larger 
buffer (but not so large that the physical memory is used up) is better. For good performance the the buffer sizes for both sides should be at least <em>Bandwidth*RTT</em>.</p>

<p>UDT uses UDP as the data channel, so the UDP buffer size affects the performance. Again, a larger value is generally better, but the effects become smaller and disappear as the buffer 
size increases. Generally, the sending buffer size can be a small value, because it does not limit the packet sending much but a large value may increase the end-to-end delay.</p>

<p><strong>UDT_FC</strong> is actually an internal parameter and you should set it to not less than UDT_RCVBUF/UDT_MSS. The default value is relatively large, therefore unless you set a very large 
receiver buffer, you do not need to change this option.</p>

<p><strong>UDT_LINGER </strong>is similar to the SO_LINGER option on the regular sockets. It allows the UDT socket continue to sent out data in the sending buffer when close is called.</p>

<p><strong>UDT_RENDEZVOUS</strong> is used to enable rendezvous connection setup. When rendezvous mode is enabled, a UDT socket cannot call listen or accept; instead, in order to set up a rendezvous 
connection, both the peer sides must call connect at approximately the same time. This is useful in traversing a firewall.</p>

<p><strong>UDT_SNDTIMEO </strong>and <strong>UDT_RCVTIMEO </strong>are similar to SO_SNDTIMEO and SO_RCVTIMEO, respectively. They are used to set a timeout value for packet sending and receiving.</p>
<p><strong>UDT_REUSEADDR</strong> allows applications to decide whether to share a UDP port with other UDT connections. By default this option is true, which means all UDT connections that are <a href="bind.htm">bind</a> to 0 will try to reuse any existing UDP socket. In addition, multiple UDT connections can bind to the same port number other than 0. If UDT_REUSEADDR is set to false, an exclusive UDP port will be assign to this UDT socket. There are a few situations when UDT_REUSEADDR should be set to false. First, two UDT sockets cannot listen on the same port number, so either the second UDT socket is explicitly bound to a different port, or UDT_REUSEADDR is set to false for this UDT socket. Second, a UDT socket bound to a specific port number cannot connect to the other UDT socket bound to the same port on the same IP address. </p>
<p><strong>Example: read current UDT settings</strong></p>
<div class="code">
UDTSOCKET u;<br>
<br>
...<br>
<br>
bool block;<br>
int size = sizeof(bool);
<br>
UDT::getsockopt(u, UDT_SNDSYN, 0, &block, &size);
</div>

<p><strong>Example: modify UDT settings</strong></p>
<div class="code">
UDTSOCKET u;<br>
<br>
...<br>
<br>
bool block = false;<br>
<br>
UDT::setsockopt(u, UDT_SNDSYN, 0, &block, sizeof(bool));
</div>


<h5>See Also</h5>
<p><a href="opt.htm"><strong>getsockopt</strong></a>, <a href="recv.htm"><strong>setsockopt</strong></a> </p>
</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产91综合久久蜜臀| 亚洲欧美怡红院| 国产婷婷色一区二区三区| 亚洲乱码国产乱码精品精98午夜| 爽好久久久欧美精品| 国产精品99久久不卡二区| 色偷偷一区二区三区| 欧美成人vr18sexvr| 一区二区在线观看av| 国产毛片精品一区| 91麻豆精品国产自产在线| 亚洲欧美二区三区| 国产精品一二三四五| 欧美一区二区大片| 亚洲另类在线一区| 丁香六月久久综合狠狠色| 日韩免费观看2025年上映的电影| 亚洲乱码中文字幕| 国产酒店精品激情| 奇米精品一区二区三区在线观看一| 国产成人8x视频一区二区| 国产精品传媒在线| 久久国产视频网| 911精品国产一区二区在线| 亚洲女爱视频在线| 91香蕉视频mp4| 中国av一区二区三区| 国产一区二区三区四区在线观看| 91麻豆精品国产自产在线| 亚洲gay无套男同| 色一情一乱一乱一91av| 亚洲色图.com| 99久久久精品免费观看国产蜜| 精品国产乱码久久久久久夜甘婷婷| 亚洲成va人在线观看| 在线亚洲高清视频| 亚洲综合一二三区| 欧美午夜电影在线播放| 亚洲女性喷水在线观看一区| 97久久人人超碰| 自拍偷拍国产精品| 99久久久无码国产精品| 日韩一区日韩二区| 色婷婷久久一区二区三区麻豆| 综合色天天鬼久久鬼色| 色综合天天综合狠狠| av午夜精品一区二区三区| 中文字幕第一区第二区| www.欧美色图| 亚洲精品国产成人久久av盗摄| 日本道精品一区二区三区| 亚洲在线成人精品| 欧美一区二区三区的| 久久成人综合网| 欧美高清在线一区二区| 成人在线一区二区三区| 亚洲最色的网站| 欧美精品tushy高清| 韩国一区二区在线观看| 中文字幕国产一区| 欧美视频一区二区三区在线观看| 午夜免费欧美电影| 欧美一区午夜精品| 国产成人免费视频网站| 亚洲欧美日韩久久精品| 337p亚洲精品色噜噜噜| 国产一区二区三区香蕉| 亚洲欧洲一区二区三区| 欧美日韩国产综合一区二区三区| 紧缚奴在线一区二区三区| 亚洲国产电影在线观看| 欧美综合亚洲图片综合区| 免费观看在线色综合| 国产精品你懂的在线欣赏| 欧美性三三影院| 国产综合色精品一区二区三区| 国产精品国模大尺度视频| 欧美日韩综合色| 国产成人aaa| 午夜精品123| 国产精品美女久久久久av爽李琼| 欧美日韩亚洲综合一区| 国产精品1区2区3区| 亚洲自拍偷拍av| 国产亚洲精品超碰| 欧美另类高清zo欧美| 国产91综合一区在线观看| 五月开心婷婷久久| 中文字幕一区二区三区av| 日韩精品中文字幕在线不卡尤物| 91色porny在线视频| 国产美女av一区二区三区| 性做久久久久久免费观看| 69久久99精品久久久久婷婷 | 欧美夫妻性生活| 国产成人超碰人人澡人人澡| 日本中文字幕一区二区视频 | 99精品久久久久久| 国产在线看一区| 免费在线欧美视频| 亚洲高清中文字幕| 一区av在线播放| 中文字幕一区二区日韩精品绯色| 欧美精品一区二区三区蜜臀| 7878成人国产在线观看| 欧洲国内综合视频| 日本乱人伦aⅴ精品| 99国产精品视频免费观看| 国产一区激情在线| 蜜桃91丨九色丨蝌蚪91桃色| 亚洲一区二区三区四区在线| 亚洲精品久久久蜜桃| 中文字幕亚洲一区二区av在线| 日本一区免费视频| 国产精品入口麻豆九色| 国产亚洲精品7777| 日韩一区精品字幕| 亚洲高清不卡在线| 亚洲午夜免费视频| 亚洲国产日韩av| 亚洲成在人线免费| 亚洲高清在线精品| 日本vs亚洲vs韩国一区三区二区| 天堂在线一区二区| 亚瑟在线精品视频| 毛片一区二区三区| 精品无人区卡一卡二卡三乱码免费卡| 久久精工是国产品牌吗| 精品在线一区二区| 国产在线精品免费av| 国产成人99久久亚洲综合精品| 成人少妇影院yyyy| 91亚洲永久精品| 欧美亚洲一区二区在线观看| 欧美三级中文字幕在线观看| 欧美日韩电影一区| 日韩手机在线导航| 国产视频视频一区| 欧美激情艳妇裸体舞| 亚洲天堂成人网| 亚洲国产精品久久不卡毛片| 日本vs亚洲vs韩国一区三区| 国产精品亚洲一区二区三区妖精| av中文一区二区三区| 欧洲精品中文字幕| 欧美成人一区二区三区片免费| 精品第一国产综合精品aⅴ| 国产精品美女www爽爽爽| 亚洲一区二区三区不卡国产欧美 | 亚洲天堂福利av| 日韩中文欧美在线| 国产+成+人+亚洲欧洲自线| zzijzzij亚洲日本少妇熟睡| 欧美美女网站色| 国产日产欧美精品一区二区三区| 一区二区三区小说| 伦理电影国产精品| 92国产精品观看| 日韩免费看网站| 亚洲精品写真福利| 久久国产福利国产秒拍| 91色在线porny| 久久亚洲二区三区| 一卡二卡欧美日韩| 久久精品免费看| 99在线视频精品| 欧美mv和日韩mv国产网站| 亚洲日本va在线观看| 久久国产欧美日韩精品| 日本高清视频一区二区| 26uuu另类欧美亚洲曰本| 一级做a爱片久久| 成人综合婷婷国产精品久久| 欧美大白屁股肥臀xxxxxx| 一区二区三区四区在线播放| 国产精品影视网| 欧美肥妇free| 一区二区三区加勒比av| 国产成人免费高清| 精品国产一区二区国模嫣然| 亚洲h动漫在线| 色综合天天综合给合国产| 国产丝袜欧美中文另类| 美国毛片一区二区| 欧美精品在线一区二区| 亚洲美女视频一区| 成人中文字幕在线| 国产农村妇女精品| 国产精品18久久久久久久久 | 全国精品久久少妇| 欧美综合亚洲图片综合区| 国产精品精品国产色婷婷| 国产成人精品免费看| 久久伊99综合婷婷久久伊| 日韩av一区二区三区| 欧美日韩国产一级二级| 亚洲日穴在线视频| 99视频国产精品| 综合激情成人伊人| av亚洲精华国产精华精华 |