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

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

?? cping.htm

?? VC實現PING的各個參數,是學習SOCKET編程的 不錯參考程序,代碼清晰,可讀性好
?? HTM
字號:
<html>

<head>
<title>CPing v1.21</title>
</head>

<body bgcolor="#FFFFFF">

<p align="left"><img src="cping.gif" alt="smtp.gif (295 bytes)" width="39" height="37"><font
face="Arial"><big><big><big><big><strong>CPing v1.21</strong></big></big></big></big></font></p>

<p><font face="Arial">Welcome to <strong>CPing</strong>, a freeware MFC class to
encapsulate the PING protocol. </font></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<table>
  <tr>
    <td><font face="Arial"><a href="#Features">Features</a></font></td>
  </tr>
  <tr>
    <td><font face="Arial"><a href="#Usage">Usage</a></font></td>
  </tr>
  <tr>
    <td><font face="Arial"><a href="#History">History</a></font></td>
  </tr>
  <tr>
    <td><font face="Arial"><a href="#APIReference">API Reference</a></font></td>
  </tr>
  <tr>
    <td><font face="Arial"><a href="#Enhancements">Planned Enhancements</a></font></td>
  </tr>
  <tr>
    <td><font face="Arial"><a href="#Contact">Contacting the Author</a></font></td>
  </tr>
</table>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><font face="Arial"><a name="Features"></a><big><strong><big>Features</big></strong></big>
</font>

<ul>
  <li><font color="#000000" size="3" face="Arial">Simple and clean C++ interface.</font></li>
  <li><font color="#000000" size="3" face="Arial">The interface provided is synchronous which
    provides an easier programming model than using asynchronous sockets.</font></li>
  <li><font color="#000000" size="3" face="Arial">A configurable timeout for the connection
    can be set through the class API.</font></li>
  <li><font color="#000000" size="3" face="Arial">The classes are fully Unicode compliant and
    include Unicode built options in the workspace file.</font></li>
</ul>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><a name="Usage"></a><font face="Arial"><big><big><strong>Usage</strong></big></big></font>

<ul>
  <li><font color="#000000" size="3" face="Arial">To use the class in your code simply include
    ping.cpp in your project and #include ping.h in which ever of your modules needs to make
    calls to the class. </font></li>
  <li><font face="Arial">Your code will need to include MFC either statically or dynamically.</font></li>
  <li><font face="Arial">You will need to have a functioning winsock stack installed as the
    code links to winsock.dll.</font></li>
  <li><font face="Arial">You will also need to have winsock.h or afxsock.h and afxpriv.h in
    your precompiled header. The code will work just aswell in a GUI or console app. The code
    should also work in a multithreaded application, although it has not be explicitly tested
    in this scenario.</font></li>
</ul>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><font face="Arial"><big><a name="History"></a></big><font color="#000000" size="5"><strong>History</strong></font></font></p>

<p><font color="#000000" size="3" face="Arial"><strong>V1.0 (11th June 1998)</strong></font>

<ul>
  <li><font face="Arial"><font size="3"><font color="#000000">Initial public release.</font></font><big>
    </big></font></li>
</ul>

<p><font color="#000000" size="3" face="Arial"><strong>V1.1 (23rd June 1998)</strong></font>

<ul>
  <li><font face="Arial">The class now supports using Winsock 2 calls instead of using the
    ICMP dll. To use Winsock 2 calls in CPing instead of the ICMP dll, just define the
    preprocessor constant &quot;CPING_USE_WINSOCK2&quot; and don't forget to link to
    &quot;ws2_32.lib&quot;.</font></li>
</ul>

<p><font color="#000000" size="3" face="Arial"><strong>V1.2 (30th July 1998)</strong></font>

<ul>
  <li><font face="Arial">Can now use both Winsock 2 calls and ICMP style calls at the same
    time with the use of 2 preprocessor directives.</font></li>
  <li><font face="Arial">sample program now use generic entry point _tmain.</font></li>
  <li><font face="Arial">Got rid of a 2 level 4 compiler warnings.</font></li>
  <li><font face="Arial">Fixed a problem with the cleanup of ICMP dll usage.</font></li>
  <li><font face="Arial">Tidied up and optimized the usage of static variables.</font></li>
</ul>

<p><font color="#000000" size="3" face="Arial"><strong>V1.21 (9th November 1998)</strong></font>

<ul>
  <li><font face="Arial">Now ships with a VC 5 workspace file instead of VC 6. This is mainly
    because VC 6 is still not as stable as VC 5 plus a lot of people have not migrated to it
    yet.</font></li>
  <li><font face="Arial">Workspace file now includes configurations to allow both the Winsock
    2 and ICMP based code to be exercised.</font></li>
  <li><font face="Arial">Fixed a level 4 warning which was occuring.</font></li>
  <li><font face="Arial">Removed a number of compiler errors which was occuring when code was
    compiled to use the ICMP or Winsock 2.</font></li>
  <li><font face="Arial">Fixed a bug whereby a ping to a non-existant host using the Winsock 2
    method blocked indefinitely.</font></li>
  <li><font face="Arial">Fixed a socket handle leak which was occuring if the Winsock 2 method
    of pinging was used.</font></li>
  <li><font face="Arial">Fixed erorr in API documentation when compared with the actual header
    file.</font></li>
  <li><font face="Arial">Fixed error in API documentation regarding default timeouts value.</font></li>
</ul>

<p>&nbsp;</p>

<p class="crt"><font face="Arial"><a name="APIReference"></a><big><big><strong>API
Reference</strong></big></big></font></p>

<p><font face="Arial">The API consists of the the single public member &quot;Ping&quot; of
the class CPing</font></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><big><strong><font face="Arial">CPing::Ping1</font></strong></big></p>

<p><font face="Arial"><strong>BOOL CPing::Ping1(LPCTSTR </strong><em>pszHostName</em><strong>,
CPingReply</strong>&amp; pr, <strong>UCHAR</strong> nTTL = <strong>10, DWORD </strong><em>dwTimeout</em><strong>
= 5000, UCHAR</strong> nPacketSize = <strong>32</strong>) const</font></p>

<p class="rl"><font face="Arial"><strong>Return Value</strong></font></p>

<p class="t"><font face="Arial">If the function succeeds, the return value is TRUE. If the
function fails, the return value is FALSE. To get extended error information, call
::GetLastError.</font></p>

<p><font face="Arial"><strong>Parameters</strong></font></p>

<p><font face="Arial"><em>pszHostName</em> The network address of the socket to connect
to: a machine name such as &#147;ftp.yourisp.com&#148;, or a dotted number such as
&#147;128.56.22.8&#148; will both work.</font></p>

<p><font face="Arial"><em>pr</em> This is a reference to a structure which will be filled
in upon successful return of this function. Currently it contains just two members,
namely:</font></p>

<p><font face="Arial">&nbsp;&nbsp;&nbsp; <em>Address</em>&nbsp;&nbsp;&nbsp;&nbsp; This is
th IP address of the replier</font></p>

<p><font face="Arial">&nbsp;&nbsp;&nbsp; <em>RTT</em>&nbsp;&nbsp;&nbsp; This is the round
trip time in Milliseconds</font></p>

<p><font face="Arial"><em>dwTimeout</em> This is the timeout to use for connections in
milliseconds.</font></p>

<p><font face="Arial"><em>nTTL</em> This is the time to live of the ICMP packet to be
sent. For those unfamilar with the low level details of IP, this is the maximum number of
routers through which this packet should travel. Each time an IP packet goes through a
router, its TTL value is decremented by 1. Eventually when a packet is received with a TTL
of 1, it is not forwarded and instead an ICMP reply is generated. This prevents the
network from becoming flooded with old IP packets. As an aside this is the basis of how
traceroute is implemented.</font></p>

<p><font face="Arial"><em>nPacketSize</em> This is the size of the ICMP packet to send.</font></p>

<p><font face="Arial"><strong>Remarks</strong></font></p>

<p><font face="Arial">Internally this function will use the ICMP dll to do a ping. To make
this function available you will need to define the CPING_USE_ICMP preprocessor macro and
link to the winsock v1.1dll namely &quot;wsock32.dll&quot;.</font></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><big><strong><font face="Arial">CPing::Ping2</font></strong></big></p>

<p><font face="Arial"><strong>BOOL CPing::Ping2(LPCTSTR </strong><em>pszHostName</em><strong>,
CPingReply</strong>&amp; pr, <strong>DWORD </strong><em>dwTimeout</em><strong> = 5000,
UCHAR</strong> nTTL = <strong>10</strong>, <strong>UCHAR</strong> nPacketSize = <strong>32</strong>)
const</font></p>

<p class="rl"><font face="Arial"><strong>Return Value</strong></font></p>

<p class="t"><font face="Arial">If the function succeeds, the return value is TRUE. If the
function fails, the return value is FALSE. To get extended error information, call
::GetLastError.</font></p>

<p><font face="Arial"><strong>Parameters</strong></font></p>

<p><font face="Arial"><em>pszHostName</em> The network address of the socket to connect
to: a machine name such as &#147;ftp.yourisp.com&#148;, or a dotted number such as
&#147;128.56.22.8&#148; will both work.</font></p>

<p><font face="Arial"><em>pr</em> This is a reference to a structure which will be filled
in upon successful return of this function. Currently it contains just two members,
namely:</font></p>

<p><font face="Arial">&nbsp;&nbsp;&nbsp; <em>Address</em>&nbsp;&nbsp;&nbsp;&nbsp; This is
th IP address of the replier</font></p>

<p><font face="Arial">&nbsp;&nbsp;&nbsp; <em>RTT</em>&nbsp;&nbsp;&nbsp; This is the round
trip time in Milliseconds</font></p>

<p><font face="Arial"><em>dwTimeout</em> This is the timeout to use for connections in
milliseconds.</font></p>

<p><font face="Arial"><em>nTTL</em> This is the time to live of the ICMP packet to be
sent. For those unfamilar with the low level details of IP, this is the maximum number of
routers through which this packet should travel. Each time an IP packet goes through a
router, its TTL value is decremented by 1. Eventually when a packet is received with a TTL
of 1, it is not forwarded and instead an ICMP reply is generated. This prevents the
network from becoming flooded with old IP packets. As an aside this is the basis of how
traceroute is implemented.</font></p>

<p><font face="Arial"><em>nPacketSize</em> This is the size of the ICMP packet to send.</font></p>

<p><font face="Arial"><strong>Remarks</strong></font></p>

<p><font face="Arial">Internally this function will use the raw winsock 2 calls to do a
ping. To make this function available you will need to define the CPING_USE_WINSOCK2
preprocessor macro and link to the winsock v2 dll, namely ws2_32.lib. Please note that
this dll is only available on NT or recent service packs of Windows 95 and is not
available on the original build of 95, namely build 950.</font></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><font face="Arial"><big><a name="Enhancements"></a></big><font color="#000000" size="4"><strong>PLANNED
ENHANCEMENTS</strong></font> </font>

<ul>
  <li><font face="Arial">Implement a class which builds upon CPing to provide traceroute
    capability.</font></li>
  <li><font face="Arial">Include a better sample program.</font></li>
  <li><font color="#000000" size="3" face="Arial">If you have any other suggested
    improvements, please let me know so that I can incorporate them into the next release.</font></li>
</ul>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p><font face="Arial"><a name="Contact"></a><font color="#000000" size="4"><strong>CONTACTING
THE AUTHOR</strong></font></font></p>

<p><font color="#000000" size="3" face="Arial">PJ Naughter<br>
Email: <a href="mailto:pjn@indigo..ie">pjn@indigo.ie</a><br>
Web: <a href="http://indigo.ie/~pjn">http://indigo.ie/~pjn</a><br>
9th November 1998</font></p>
</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区免费视频| 亚洲视频一区在线| 日韩电影在线免费观看| 欧美日韩一区不卡| 五月婷婷激情综合| 欧美一卡二卡在线| 精品一区二区三区香蕉蜜桃 | 亚洲国产欧美在线人成| 欧美影院午夜播放| 日韩在线一二三区| 2021久久国产精品不只是精品| 久久66热偷产精品| 国产农村妇女精品| 91麻豆国产精品久久| 亚洲影院在线观看| 日韩一级完整毛片| 国产精品系列在线观看| 成人免费在线视频观看| 精品久久久久一区二区国产| 成人午夜视频免费看| 一卡二卡三卡日韩欧美| 欧美一级搡bbbb搡bbbb| 国产白丝精品91爽爽久久| 中文字幕在线不卡| 欧美日韩精品欧美日韩精品一综合| 奇米精品一区二区三区在线观看| 国产亚洲精品免费| 欧美亚洲国产一区二区三区va | 岛国精品在线播放| 亚洲国产一二三| 久久精品在线观看| 在线一区二区三区做爰视频网站| 奇米一区二区三区av| 国产精品久久久久久久裸模| 欧美群妇大交群中文字幕| 国产福利不卡视频| 亚洲成av人片一区二区| 久久精品夜色噜噜亚洲aⅴ| 欧美性色黄大片| 国产成人免费视频一区| 亚洲18影院在线观看| 欧美激情中文不卡| 欧美区一区二区三区| av一区二区久久| 青娱乐精品在线视频| 亚洲三级久久久| 久久综合九色综合欧美98| 欧美综合天天夜夜久久| 成人午夜在线视频| 久久69国产一区二区蜜臀| 亚洲高清免费观看高清完整版在线观看| 久久夜色精品一区| 欧美一区二区三区在线电影| 日本电影欧美片| 成人精品视频一区| 国产一区欧美二区| 日韩电影一二三区| 亚洲一级电影视频| 综合分类小说区另类春色亚洲小说欧美| 精品国精品自拍自在线| 777亚洲妇女| 欧美性大战久久久久久久蜜臀| 99视频超级精品| 国产大陆亚洲精品国产| 久久成人精品无人区| 首页国产欧美久久| 亚洲高清免费一级二级三级| 一区二区在线看| 亚洲摸摸操操av| 亚洲欧洲色图综合| 国产精品国产自产拍在线| 国产日韩精品一区二区浪潮av| 日韩一区二区免费高清| 538在线一区二区精品国产| 欧美挠脚心视频网站| 欧美中文字幕亚洲一区二区va在线 | 国产原创一区二区| 欧美a一区二区| 久久精品国产成人一区二区三区| 日韩av在线播放中文字幕| 三级影片在线观看欧美日韩一区二区 | 亚洲欧美激情一区二区| 亚洲色图欧美偷拍| 亚洲色图色小说| 亚洲欧美成人一区二区三区| 中文字幕一区二区三区乱码在线| 中文字幕亚洲一区二区av在线| 中文字幕乱码一区二区免费| 中文字幕精品三区| 亚洲色图视频免费播放| 亚洲精品欧美专区| 五月激情综合网| 免费成人av在线播放| 精品一区二区三区在线观看| 国精产品一区一区三区mba视频 | 国产v综合v亚洲欧| 成人激情动漫在线观看| 91美女片黄在线观看91美女| 在线精品视频免费播放| 欧美另类高清zo欧美| 欧美va亚洲va在线观看蝴蝶网| 精品乱码亚洲一区二区不卡| 国产亚洲欧美中文| 亚洲啪啪综合av一区二区三区| 亚洲免费资源在线播放| 日韩国产成人精品| 国产麻豆一精品一av一免费| 成人久久18免费网站麻豆| 欧美在线免费播放| 精品日韩av一区二区| 国产精品第四页| 午夜精品在线看| 国产成人av影院| 欧美色偷偷大香| 精品1区2区在线观看| 亚洲免费在线播放| 美女网站色91| 91色在线porny| 日韩色视频在线观看| 中文字幕在线观看不卡| 日本中文字幕一区二区有限公司| 国产乱子轮精品视频| 色婷婷香蕉在线一区二区| 日韩小视频在线观看专区| 国产精品第五页| 美腿丝袜在线亚洲一区| 成人av资源下载| 欧美二区三区91| 最新日韩av在线| 蓝色福利精品导航| 91免费视频网址| 久久综合av免费| 亚洲一区二区三区四区在线| 国产精品一区二区三区四区| 欧美乱熟臀69xxxxxx| 国产精品人妖ts系列视频| 免费久久99精品国产| 91色婷婷久久久久合中文| 久久久久久久久久久久久夜| 五月天视频一区| 色悠久久久久综合欧美99| 国产亚洲欧美日韩在线一区| 日韩高清电影一区| 欧美性xxxxxxxx| 亚洲日本一区二区| 国产成人精品aa毛片| 日韩美女视频一区二区在线观看| 亚洲精品高清视频在线观看| 成人一级黄色片| 欧美精品一区二区三区久久久| 午夜欧美大尺度福利影院在线看| 91婷婷韩国欧美一区二区| 国产女人18毛片水真多成人如厕 | 国产一区不卡在线| 欧美一区二区视频免费观看| 丁香婷婷综合色啪| 精品日韩av一区二区| 视频一区免费在线观看| 欧美无砖专区一中文字| 亚洲靠逼com| 91国偷自产一区二区三区成为亚洲经典| 国产亚洲精品免费| 国产成人综合网站| 久久久99免费| 国产精品18久久久久久vr| 精品成人在线观看| 久久99精品国产.久久久久久| 欧美一级精品在线| 日本亚洲三级在线| 日韩视频一区二区在线观看| 日韩在线一区二区三区| 欧美一区二区精美| 久久精品av麻豆的观看方式| 精品免费视频.| 国产最新精品精品你懂的| 精品国产免费久久| 国产黄人亚洲片| 欧美国产一区二区在线观看 | 国模套图日韩精品一区二区| 欧美成人一区二区| 国产一区高清在线| 中文字幕免费不卡在线| av亚洲精华国产精华精华| 亚洲欧美激情在线| 欧美日韩国产另类一区| 日韩中文字幕1| www国产精品av| 成+人+亚洲+综合天堂| 最近日韩中文字幕| 欧美日韩黄色一区二区| 人禽交欧美网站| 亚洲国产成人自拍| 在线一区二区视频| 久久电影网电视剧免费观看| 国产日本欧美一区二区| 色偷偷88欧美精品久久久| 五月婷婷久久综合| 国产免费成人在线视频| 色婷婷av一区二区| 久久精品国产99|