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

📄 impatient.html

📁 SDK FAQ集
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html lang="en"><head><title>Winsock Programmer's FAQ: Articles</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="../articles/index.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 7: Articles<br>				</b></p>			</font>			</td>		<td align="right" bgcolor="#e0e0c0">			<font size="2" face=Verdana,Arial,Helvetica>				<b><a href="../articles/io-strategies.html">&gt;&gt;</a></b>			</font>		</td>	</tr></table><!--  ---- Body Table ----  --><table width="95%" border="0" cellpadding="10">	<tr valign="top">		<td><h3>Winsock for the Impatient</h3><p><i>by Warren Young</i></p><p>You know who you are. The one who never reads manuals. The one who usedto read ahead in math class. The one who learns APIs by reading code. Youwant to get up to speed quickly on Winsock. Here's the fast-track infoyou need to know.</p><p><b>Step 1: Get a good Winsock book.</b> Yes, I know, you don't readbooks, you read code. Trust me, however, Winsock is not a simple API. (Ifit was simple, we wouldn't need a FAQ, now would we?) There is a sectionin the FAQ with <a href="../reviews/index.html">several book reviews</a>. Whileyou're waiting [impatiently] for your book to arrive (you don't stillshop off-line, do you?), continue with this list.</p><p><b>Step 2: Download the spec.</b> You shouldn't need it often,but <a href="http://www.sockets.com/winsock2.htm#Docs">the spec</a>is more complete than the online docs, and it's full-text searchableand printable. (If you have the MSDN Library, you already have this,though it's buried in the library.)</p><p><b>Step 3: Check out the basic examples in the FAQ.</b>The Examples section of the FAQ has a section with <ahref="../examples/basics/index.html">several basic Winsock programs</a> witha bit of discussion on each. You may also find Jim Frost's <ahref="http://world.std.com/~jimf/papers/sockets/winsock.html">quickWinsock tutorial</a> useful.</p><p><b>Step 4: Read the <a href="../articles/lame-list.html">Lame List</a>.</b>This list will give you an idea of what is acceptable behavior for aWinsock program and what is not.</p><p><b>Step 5: Bookmark sockets.com.</b> Aside from this FAQ (wink, wink),Bob Quinn's <a href="http://www.sockets.com/">sockets.com</a> site isthe best source of deep info on Winsock. In particular, the sections onWinsock 2 are more authoritative than the spec<img src="../bitmaps/waist-dot.gif" alt="-" width=7 height=6 hspace=2>if the spec saysone thing and Bob says another, believe Bob.</p><p><b>Step 6: Tap into the info streams.</b> The two main Winsocknewsgroups <img src="../bitmaps/waist-dot.gif" alt="--" width=14 height=6 hspace=2> <a href="news:alt.winsock.programming">alt.winsock.programming</a> and<a href="news:comp.os.ms-windows.programmer.tools.winsock">comp.os.ms-windows.programmer.tools.winsock</a> <img src="../bitmaps/waist-dot.gif" alt="--" width=14 height=6 hspace=2>are great places to get answers to your Winsock questions. Plus,chances are good that someone's already asked the question you areinterested in, so you can find the question's answer in the online newsarchives at <a href="http://www.deja.com/">DejaNews</a>. Anothergreat resource for those really tough questions is the <ahref="mailto:listserv@mailbag.intel.com?body=subscribe%20winsock-2">Winsock2 mailing list</a>. You can search the Winsock 2 mailing list online<a href="http://www.stardust.com/hypermail/ws2arc.html">at Stardust'sweb site</a>.</p><p><b>Step 7: Write code. Lots of it.</b> The only way to learn somethingis to do it, and Winsock has lots of odd and surprising behaviors foryou to discover.</p><p>That's it! Happy Winsocking!</p>		</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="../articles/index.html">&lt;&lt; Articles</a>		</td>		<td align=right>		    <a href="../articles/io-strategies.html">Which I/O Strategy Should I Use? &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 + -