<html>
<head>
<title>1-3</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
<table width="100%" border="0">
<tr>
<td height="40">
<div align="center"><b><font color="#000099">1.3 Microsoft Windows和針對Windows的擴展</font></b>
</div>
</td>
</tr>
<tr>
<td height="41">這一套Windows Sockets API能夠在所有3.0以上版本的Windows和所有Windows Scokets實現上使用,所以它不僅為Windwos
Sockets實現和Windows Sockets應用程序提供了16位操作環境,而且也提供了32位操作環境。 </td>
</tr>
<tr>
<td height="83">Windows Sockets也支持多線程的Windows進程。一個進程包含了一個或多個同時執行的線程。在Windows
3.1非多線程版本中,一個任務對應了一個僅具有單個線程的進程。而我們在本書中所提到的線程均是指在多線程Windows環境中的真正意義的線程。在非多線程環境中(例如Windows
3.0)這個術語是指Windows Sockets進程.</td>
</tr>
<tr>
<td> Windows Sockets規范中的針對Windows的擴展部分為應用程序開發者提供了開發具有Windows應用軟件的功能。它有利于使程序員寫出更加穩定并且更加高效的程序,也有助于在非占先Windows版本中使多個應用程序在多任務情況下更好地運作。除了WSAStartup()和WSACleanup()兩個函數除外,其他的Windows擴展函數的使用不是強制性的。
</td>
</tr>
</table>
</body>
</html>