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

📄 index.html

📁 SDK FAQ集
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html lang="en"><head><title>Winsock Programmer's FAQ: Example Programs</title><link rel="Stylesheet" type="text/css" href="../faq.css"></head><body bgcolor="#ffffee" text="#000000" link="#491e00" vlink="#7d2e01" alink="#da7417"><!--  ---- Header Bar ----  --><table border="0" width="95%" bgcolor="#006000" cellpadding="5" cellspacing="3" align="center">	<tr>		<td align="left" bgcolor="#e0e0c0">			<font size="2" face=Verdana,Arial,Helvetica>				<b><a href="../resources/misc.html">&lt;&lt;</a></b>			</font>		</td>		<td align="center">			<font face=Verdana,Arial,Helvetica color="#ffffee">				<p align=center class=bigger3><b>				Winsock Programmer's FAQ<br>				Section 6: Example Programs<br>				</b></p>			</font>			</td>		<td align="right" bgcolor="#e0e0c0">			<font size="2" face=Verdana,Arial,Helvetica>				<b><a href="../examples/basics/index.html">&gt;&gt;</a></b>			</font>		</td>	</tr></table><!--  ---- Body Table ----  --><table width="95%" border="0" cellpadding="10">	<tr valign="top">		<td><p><i>Legal Stuff:</i>  The examples in this FAQ that aren't attributedto some other source are all hereby placed into the public domain. Usethem, learn from them, enjoy them. But please understand that there isNO WARRANTY OF ANY KIND attached to these examples.</p><p>I test all of these examples with the command line compilers fromBorland C++ 5.0 and Visual C++ 5.0. All of these examples can, inprinciple, be made to work with older compiler versions, but since Ilike to make use of newer C++ features, you may have to change some ofthe code to get the examples to compile.</p><p>Although the code is C++, it's mainly as a "C++-as-better-C"style. There is no object-oriented code here, yet.</p><p>The examples assume a compiler capable of generating Win32 consoleexecutables. This allows me to avoid all the GUI stuff: it just getsin the way when teaching Winsock. All of these examples currently usethe Winsock 1.1 API, except a few that are marked, which require someWinsock 2 feature.</p><p>The header comment for each example shows how to compile thatexample.</p><h4>The Examples</h4><ul><li><a href="basics/index.html">Several Basic Winsock Programs</a><li><a href="dllping.html">Pinging a Host Using Microsoft's ICMP.DLL</a><li><a href="rawping.html">Pinging a Host Using Raw Sockets (Winsock 2)</a><li><a href="fdpass.html">How to Pass a Socket Handle in Win32</a><li><a href="ipaddr.html">Getting the Local IP Address</a><li><a href="getifaces.html">Getting the Network Interface List (Winsock 2)</a><li><a href="getmac-netbios.html">How to Get the MAC (a.k.a. "hardware") Address, NetBIOS method</a><li><a href="getmac-snmp.html">How to Get the MAC (a.k.a. "hardware") Address, SNMP method</a><li><a href="getmac-rpc.html">How to Get the MAC (a.k.a. "hardware") Address, RPC method</a><li><a href="get-sockets.html">Finding the Maximum Number of Open Sockets</a><li><a href="username.html">How to Get the Local User Name</a></ul>		</td>	</tr></table><!--  ---- Document Footer ----  --><hr noshade size=1 color=#404040><table cellpadding=5 cellspacing=0 border=0 width=95% align=center> 	<tr>		<td align=left>		    <a href="../resources/misc.html">&lt;&lt; Miscellaneous Resources</a>		</td>		<td align=right>		    <a href="../examples/basics/index.html">Basic Example Programs &gt;&gt;</a>		</td>	</tr>	<tr>		<td align=left>			<i>Last modified on 29 April 2000 at 15:52 UTC-7</i>		</td>		<td align=right>			<font size=-1>Please send corrections to <a href="mailto:tangent@cyberport.com">tangent@cyberport.com</a>.</font>		</td>	</tr>	</table>	<table cellpadding=5 cellspacing=0 border=0 width=95% align=center> 	<tr>		<td align=left width=33%>			<font size=-1>				<a href="../index.html"><b>&lt;</b> Go to the main FAQ page</a>			</font>		</td>		<td width=33%>			<font size=-1>			<center>				<a href="http://www.cyberport.com/~tangent/programming"><b>&lt;&lt;</b> Go to my Programming pages</a>			</center>			</font>		</td>		<td align=right width=33%>			<font size=-1>				<a href="http://www.cyberport.com/~tangent/"><b>&lt;&lt;&lt;</b> Go to my Home Page</a>			</font>		</td>	</tr>	</table>	</body></html>

⌨️ 快捷键说明

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