﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-海的空间-文章分类-网络编程</title><link>http://www.cppblog.com/hai/category/17041.html</link><description /><language>zh-cn</language><lastBuildDate>Thu, 09 Jun 2011 20:10:25 GMT</lastBuildDate><pubDate>Thu, 09 Jun 2011 20:10:25 GMT</pubDate><ttl>60</ttl><item><title>Winsock基础（1）</title><link>http://www.cppblog.com/hai/articles/148224.html</link><dc:creator>海的空间</dc:creator><author>海的空间</author><pubDate>Tue, 07 Jun 2011 11:18:00 GMT</pubDate><guid>http://www.cppblog.com/hai/articles/148224.html</guid><wfw:comment>http://www.cppblog.com/hai/comments/148224.html</wfw:comment><comments>http://www.cppblog.com/hai/articles/148224.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/hai/comments/commentRss/148224.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/hai/services/trackbacks/148224.html</trackback:ping><description><![CDATA[
		<!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:TrackMoves/>
  <w:TrackFormatting/>
  <w:PunctuationKerning/>
  <w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
  <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
  <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:DoNotPromoteQF/>
  <w:LidThemeOther>EN-US</w:LidThemeOther>
  <w:LidThemeAsian>ZH-CN</w:LidThemeAsian>
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
  <w:Compatibility>
   <w:SpaceForUL/>
   <w:BalanceSingleByteDoubleByteWidth/>
   <w:DoNotLeaveBackslashAlone/>
   <w:ULTrailSpace/>
   <w:DoNotExpandShiftReturn/>
   <w:AdjustLineHeightInTable/>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   <w:SplitPgBreakAndParaMark/>
   <w:DontVertAlignCellWithSp/>
   <w:DontBreakConstrainedForcedTables/>
   <w:DontVertAlignInTxbx/>
   <w:Word11KerningPairs/>
   <w:CachedColBalance/>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
  <m:mathPr>
   <m:mathFont m:val="Cambria Math"/>
   <m:brkBin m:val="before"/>
   <m:brkBinSub m:val=-"/>
   <m:smallFrac m:val="off"/>
   <m:dispDef/>
   <m:lMargin m:val="0"/>
   <m:rMargin m:val="0"/>
   <m:defJc m:val="centerGroup"/>
   <m:wrapIndent m:val="1440"/>
   <m:intLim m:val="subSup"/>
   <m:naryLim m:val="undOvr"/>
  </m:mathPr></w:WordDocument>
</xml><![endif]-->
		<!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267">
  <w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 1"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 2"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 3"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 4"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 5"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 6"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 7"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 8"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 9"/>
  <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
  <w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title"/>
  <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
  <w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
  <w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
  <w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
  <w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
  <w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
  <w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
  <w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
  <w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
  <w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
  <w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
  <w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
  <w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
  <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
  <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
 </w:LatentStyles>
</xml><![endif]-->
		<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:普通表格;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman","serif";}
</style>
<![endif]-->
		<p class="MsoNormal" style="text-align:center" align="center">
				<b style="mso-bidi-font-weight:&#xD;&#xA;normal">
						<span style="font-size:16.0pt;mso-bidi-font-size:10.0pt" lang="EN-US">Winsock</span>
				</b>
				<b style="mso-bidi-font-weight:normal">
						<span style="font-size:16.0pt;mso-bidi-font-size:&#xD;&#xA;10.0pt;font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">概述</span>
				</b>
				<b style="mso-bidi-font-weight:normal">
						<span style="font-size:16.0pt;mso-bidi-font-size:10.0pt" lang="EN-US">
						</span>
				</b>
		</p>
		<p class="MsoNormal" style="text-align:left" align="left">
				<span lang="EN-US">Socket</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">函数是</span>
				<span lang="EN-US">Windows</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">在传输层中应用的编程接口。所以使用</span>
				<span lang="EN-US">WinSock</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">主要是开发基于</span>
				<span lang="EN-US">TCP</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">或</span>
				<span lang="EN-US">UDP</span>
				<span style="font-family:&#xD;&#xA;宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">的应用程序。</span>
		</p>
		<p class="MsoNormal" style="margin-left:0cm;text-align:left;&#xD;&#xA;text-indent:0cm;mso-list:l0 level1 lfo1" align="left">
				<b>
						<span style="mso-bidi-font-family:宋体" lang="EN-US">
								<span style="mso-list:Ignore">一、</span>
						</span>
				</b>
				<b>
						<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">在</span>
						<span lang="EN-US">LAN</span>
				</b>
				<b>
						<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">中是的寻址方式</span>
						<span lang="EN-US">
						</span>
				</b>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span lang="EN-US">LAN</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">中主要使用广播通信。所以通信时的关键问题是当竞争存在时如何决定谁使用通道。</span>
				<span lang="EN-US">MAC</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">子层就是用来解决此问题的，它是链路层的子层。</span>
				<span lang="EN-US">MAC</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">是控制</span>
				<span lang="EN-US">LAN</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">中的广播通信的。</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">网络中的节点（主机或路由器）都有链路层地址。链路层地址通常叫做</span>
				<span lang="EN-US">LAN</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">地址、物理层地址或</span>
				<span lang="EN-US">MAC</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">地址。比如：</span>
				<span lang="EN-US">E6-E9-00-17-BB-4B.</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<b style="mso-bidi-font-weight:normal">
						<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">局域网</span>
						<span lang="EN-US">(LAN)</span>
				</b>
				<b style="mso-bidi-font-weight:normal">
						<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">通信原理：</span>
				</b>
				<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">当适配器想要发送一个帧到其他适配器时，发送适配器将目的适配器的</span>
				<span lang="EN-US">MAC</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">地址插入到封包中，然后以广播的方式将此封包发送到</span>
				<span lang="EN-US">LAN</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">中的每一台主机。如果想要</span>
				<span lang="EN-US">LAN</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">中的所有其他适配器都接收并处理它发送的帧，这种情况下就要插入一个特定的</span>
				<span lang="EN-US">MAC</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">广播地址即可，即</span>
				<span lang="EN-US">FF-FF-FF-FF-FF-FF.</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">一旦封包从</span>
				<span lang="EN-US">LAN</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">的网关出来进入</span>
				<span lang="EN-US">Internet</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">，链路层地址就不再有用，这时各路由器是依靠网络层的</span>
				<span lang="EN-US">IP</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">地址来寻找目标主机。</span>
		</p>
		<p class="MsoNormal" style="margin-left:0cm;text-align:left;&#xD;&#xA;text-indent:0cm;mso-list:l0 level1 lfo1" align="left">
				<b>
						<span style="mso-bidi-font-family:宋体" lang="EN-US">
								<span style="mso-list:Ignore">二、</span>
						</span>
				</b>
				<b>
						<span lang="EN-US">IP</span>
				</b>
				<b>
						<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">地址</span>
						<span lang="EN-US">
						</span>
				</b>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">互联网上的每个主机和路由器都有</span>
				<span lang="EN-US">IP</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">地址，它将网络号和主机号编码在一起。注意：</span>
				<span lang="EN-US">IP</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">地址指定的并不是主机，而是网络接口。</span>
		</p>
		<p class="MsoNormal" style="margin-left:0cm;text-align:left;&#xD;&#xA;text-indent:0cm;mso-list:l0 level1 lfo1" align="left">
				<b>
						<span style="mso-bidi-font-family:宋体" lang="EN-US">
								<span style="mso-list:Ignore">三、</span>
						</span>
				</b>
				<b>
						<span lang="EN-US">Winsock</span>
				</b>
				<b>
						<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">库</span>
						<span lang="EN-US">
						</span>
				</b>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span lang="EN-US">Winsock</span>
				<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">库有两个版本，现在开发网络应用程序都使用</span>
				<span lang="EN-US">WinSock2.</span>
				<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">它包含了绝大部分</span>
				<span lang="EN-US">socket</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">函数和相关结构类型的声明和定义。同时要添加</span>
				<span lang="EN-US">WS2_32..lib</span>
				<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">链接库。</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">用来加载</span>
				<span lang="EN-US">Winsock</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">库的函数是</span>
				<span lang="EN-US">WSAStartup</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">。</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span lang="EN-US">int WSAStartup(</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span lang="EN-US">
						<span style="mso-spacerun:yes">  </span>__in<span style="mso-spacerun:yes">          </span>WORD <span style="mso-field-code:&#xD;&#xA;&quot;&quot;">wVersionRequested</span>,<span style="mso-spacerun:yes">  </span>//</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">指定想要加载的</span>
				<span lang="EN-US">Winsock</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">库的版本。高字节为次版本号，低字节为主版本号。</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span lang="EN-US">
						<span style="mso-spacerun:yes">  </span>__out<span style="mso-spacerun:yes">         </span>LPWSADATA <span style="mso-field-code:&#xD;&#xA;&quot;&quot;">lpWSAData</span>,<span style="mso-spacerun:yes">   </span>//</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">一个指向</span>
				<span lang="EN-US">WSADATA</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">的指针，用来返回</span>
				<span lang="EN-US">DLL</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">库的详细信息。</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span lang="EN-US">);</span>
		</p>
		<p class="MsoNormal" style="text-align:left" align="left">
				<span lang="EN-US">
						<span style="mso-spacerun:yes">    </span>
				</span>
				<span style="font-family:宋体;&#xD;&#xA;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">如果函数调用成功，则返回</span>
				<span lang="EN-US">0</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">，否则会返回错误代码。这时就不需要用</span>
				<span lang="EN-US">WSAGetLastError</span>
				<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">函数查看出错原因。</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">还要注意：每一个</span>
				<span lang="EN-US">WSAStartup</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">的调用必须对应一个</span>
				<span lang="EN-US">WSACleanup</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">的调用。</span>
		</p>
		<p class="MsoNormal" style="margin-left:0cm;text-align:left;&#xD;&#xA;text-indent:0cm;mso-list:l0 level1 lfo1" align="left">
				<b>
						<span style="mso-bidi-font-family:宋体" lang="EN-US">
								<span style="mso-list:Ignore">四、</span>
						</span>
				</b>
				<b>
						<span lang="EN-US">Winsock</span>
				</b>
				<b>
						<span style="font-family:宋体;mso-ascii-font-family:&#xD;&#xA;&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">的寻址方式和字节顺序</span>
						<span lang="EN-US">
						</span>
				</b>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">在</span>
				<span lang="EN-US">Winsock</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">中，应用程序通过</span>
				<span lang="EN-US">SOCKADDR_IN</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">结构来指定</span>
				<span lang="EN-US">IP</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">地址和端口号。</span>
				<span lang="EN-US">Struct sockaddr_in</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">。</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">两个</span>
				<span lang="EN-US">IP</span>
				<span style="font-family:&#xD;&#xA;宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">地址与字符串转换的函数：</span>
		</p>
		<p class="MsoNormal" style="text-align:left" align="left">
				<span lang="EN-US">unsigned
long inet_addr(</span>
		</p>
		<p class="MsoNormal" style="text-align:left" align="left">
				<span lang="EN-US">
						<span style="mso-spacerun:yes">  </span>__in <span style="mso-spacerun:yes"> </span>const
char* <span style="mso-field-code:&quot;&quot;">cp</span>; //</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">将一个</span>
				<span lang="EN-US">"aa.bb.cc.dd"</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">类型的</span>
				<span lang="EN-US">IP</span>
				<span style="font-family:&#xD;&#xA;宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">地址字符串转化为</span>
				<span lang="EN-US">32</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">位的二进制数。</span>
		</p>
		<p class="MsoNormal" style="text-align:left" align="left">
				<span lang="EN-US">);</span>
		</p>
		<p class="MsoNormal" style="text-align:left" align="left">
				<span lang="EN-US">char*
FAR inet_ntoa(<br /><span style="mso-spacerun:yes">  </span>__in <span style="mso-spacerun:yes"> </span>struct<span style="mso-spacerun:yes">  
</span>in_addr <span style="mso-field-code:&quot;&quot;">in</span><br />
);<br />
//</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">将</span>
				<span lang="EN-US">32</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">位二进制数转化为字符串。</span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span lang="EN-US">IP</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;&#xD;&#xA;mso-hansi-font-family:&quot;Times New Roman&quot;">地址的字节顺序：</span>
				<span lang="EN-US">TCP/IP</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">统一规定使用大尾方式传输数据，即最重要的字节首先存储。</span>
				<span lang="EN-US">Winsock</span>
				<span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&#xD;&#xA;&quot;Times New Roman&quot;">提供了一些函数来处理本地机器的字节顺序和网络字节顺序的转换：</span>
		</p>
		<p class="MsoNormal" style="text-indent:21.0pt;text-autospace:none">
				<span style="font-family:宋体" lang="EN-US">u_short htons(u_short hostshort &lt;16 </span>
				<span style="font-family:宋体">位的主机字节序<span lang="EN-US">&gt;);</span></span>
		</p>
		<p class="MsoNormal" style="text-indent:21.0pt;text-autospace:none">
				<span style="font-family:宋体" lang="EN-US">u_long htonl(u_long hostlong &lt;32 </span>
				<span style="font-family:宋体">位的主机字节序<span lang="EN-US">&gt;) //</span>转换为网络字节序<span lang="EN-US"></span></span>
		</p>
		<p class="MsoNormal" style="text-indent:21.0pt;text-autospace:none">
				<span style="font-family:宋体" lang="EN-US">u_short ntohs(u_short <span style="mso-spacerun:yes"> </span>netshort &lt;16 </span>
				<span style="font-family:&#xD;&#xA;宋体">位的网络字节序<span lang="EN-US">&gt;)</span></span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体" lang="EN-US">u_long ntohl(u_long netlong &lt;32 </span>
				<span style="font-family:宋体">位的网络字节序<span lang="EN-US">&gt;) //</span>转换为主机字节序<span lang="EN-US"></span></span>
		</p>
		<p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left">
				<span style="font-family:宋体">上述<span lang="EN-US">API</span>是平台无关的。<span lang="EN-US"></span></span>
		</p>
		<p class="MsoNormal" style="margin-left:0cm;text-align:left;&#xD;&#xA;text-indent:0cm;mso-list:l0 level1 lfo1" align="left">
				<b>
						<span style="mso-bidi-font-family:宋体" lang="EN-US">
								<span style="mso-list:Ignore">五、</span>
						</span>
				</b>
				<b>
						<span lang="EN-US">Winsock API</span>
				</b>
		</p>
		<p class="MsoNormal" style="text-autospace:none">
				<span style="font-family:AdobeSongStd-Light">在每个</span>
				<span style="mso-fareast-font-family:&quot;Times New Roman&quot;" lang="EN-US">Wi n 3 2</span>
				<span style="font-family:AdobeSongStd-Light">平台上，</span>
				<span style="mso-fareast-font-family:&quot;Times New Roman&quot;" lang="EN-US">Wi n s o c k</span>
				<span style="font-family:AdobeSongStd-Light">都以不同的形式存在着。</span>
				<span style="mso-fareast-font-family:&quot;Times New Roman&quot;" lang="EN-US">Wi n s o c k</span>
				<span style="font-family:AdobeSongStd-Light">是网络编程接口，而不是协议。<span lang="EN-US"></span></span>
		</p>
<img src ="http://www.cppblog.com/hai/aggbug/148224.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/hai/" target="_blank">海的空间</a> 2011-06-07 19:18 <a href="http://www.cppblog.com/hai/articles/148224.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>