<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0058)http://www.cnblogs.com/riky/archive/2006/11/24/570713.aspx -->
<HTML><HEAD id=Head><TITLE>Unix网络API - 大智若愚 - 博客园</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META id=metaKeywords content=Unix网络API name=keywords><LINK id=CommondCss
href="Unix网络API - 大智若愚 - 博客园.files/common.css" type=text/css
rel=stylesheet><LINK id=MainCss href="Unix网络API - 大智若愚 - 博客园.files/style.css"
type=text/css rel=stylesheet><LINK id=RSSLink title=RSS
href="http://www.cnblogs.com/riky/rss.aspx" type=application/rss+xml
rel=alternate>
<SCRIPT src="Unix网络API - 大智若愚 - 博客园.files/common.js"
type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<FORM id=Form1 name=Form1 onsubmit="javascript:return WebForm_OnSubmit();"
action=570713.aspx method=post>
<DIV><INPUT id=__EVENTTARGET type=hidden name=__EVENTTARGET> <INPUT
id=__EVENTARGUMENT type=hidden name=__EVENTARGUMENT> <INPUT
id=" __VIEWSTATE" type=hidden name=__VIEWSTATE> </DIV>
<SCRIPT type=text/javascript>
<!--
var theForm = document.forms['Form1'];
if (!theForm) {
theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</SCRIPT>
<SCRIPT src="Unix网络API - 大智若愚 - 博客园.files/WebResource.axd"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
function ctlent(evt,id)
{
if(evt.ctrlKey && evt.keyCode == 13)
{
try
{
TempSave(id);
}
catch(ex)
{
}
finally
{
__doPostBack('AjaxHolder$PostComment$btnSubmit','')
}
}
}</SCRIPT>
<SCRIPT language=JavaScript>function SetReplyAuhor(author){document.getElementById('AjaxHolder_PostComment_tbComment').value+="@"+author+"\n";document.getElementById('AjaxHolder_PostComment_tbComment').focus();return false}</SCRIPT>
<SCRIPT src="Unix网络API - 大智若愚 - 博客园.files/ScriptResource.axd"
type=text/javascript></SCRIPT>
<SCRIPT
src="C:\Documents and Settings\card\桌面\Unix网络API - 大智若愚 - 博客园.files\ScriptResource(1).axd"
type=text/javascript></SCRIPT>
<SCRIPT
src="C:\Documents and Settings\card\桌面\Unix网络API - 大智若愚 - 博客园.files\ScriptResource(2).axd"
type=text/javascript></SCRIPT>
<SCRIPT src="Unix网络API - 大智若愚 - 博客园.files/js" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
<!--
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
// -->
</SCRIPT>
<!--done-->
<DIV id=header><!--done-->
<DIV class=header>
<DIV class=headerText><A class=headermaintitle id=Header1_HeaderTitle
href="http://www.cnblogs.com/riky/">大智若愚</A><BR>弱智da愚 </DIV></DIV></DIV>
<DIV id=mytopmenu>
<DIV id=mylinks><!--done--><A class=menu id=MyLinks1_HomeLink
href="http://www.cnblogs.com/">博客园</A> <A class=menu
id=MyLinks1_MyHomeLink href="http://riky.cnblogs.com/">首页</A> <A
class=menu id=MyLinks1_NewPostLink
href="http://www.cnblogs.com/riky/admin/EditPosts.aspx?opt=1">新随笔</A> <A
class=menu id=MyLinks1_ContactLink
href="http://www.cnblogs.com/riky/contact.aspx?id=1">联系</A> <A
class=menu id=MyLinks1_Syndication
href="http://www.cnblogs.com/riky/rss">订阅</A><A id=MyLinks1_XMLLink
href="http://www.cnblogs.com/riky/rss"><IMG
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px"
alt=订阅 src="Unix网络API - 大智若愚 - 博客园.files/xml.gif"></A> <A class=menu
id=MyLinks1_Admin href="http://www.cnblogs.com/riky/admin/EditPosts.aspx">管理</A>
</DIV>
<DIV id=mystats><!--done-->随笔-140 评论-41 文章-0 trackbacks-0
</DIV></DIV>
<DIV id=centercontent>
<SCRIPT type=text/javascript>
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('AjaxHolder$scriptmanager1', document.getElementById('Form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tAjaxHolder$UpdatePanel1'], [], [], 90);
//]]>
</SCRIPT>
<!--done-->
<DIV class=post>
<DIV class=postTitle><A class=postTitle2 id=AjaxHolder_ctl01_TitleUrl
href="http://www.cnblogs.com/riky/archive/2006/11/24/570713.html">Unix网络API</A>
</DIV>
<H1>
<CENTER>网络API</CENTER></H1><BR>
<H2>索引:</H2>1.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item001">字节序函数</A><BR>2.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item002">字节操作函数</A><BR>3.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item003">地址转换函数</A><BR>4.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item004">readn、writen和readline</A><BR>5.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item005">测试描述符类型</A><BR>6.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item006">socket函数</A><BR>7.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item007">connect函数</A><BR>8.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item008">bind函数</A><BR>9.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item009">listen函数</A><BR>10.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item010">accept函数</A><BR>11.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item011">close函数</A><BR>12.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item012">getsockname和getpeername</A><BR>13.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item013">select函数</A><BR>14.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item014">shutdown函数</A><BR>15.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item015">pselect函数</A><BR>16.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item016">poll函数</A><BR>17.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item017">getsockopt和setsockopt</A><BR>18.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item018">套接口选项列表</A><BR>19.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item019">处理套接口的fcntl函数</A><BR>20.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item020">gethostbyname函数</A><BR>21.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item021">gethostbyname2函数</A><BR>22.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item022">ethostbyaddr函数</A><BR>23.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item023">uname函数</A><BR>24.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item024">gethostname函数</A><BR>25.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item025">getservbyname函数</A><BR>26.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item026">getservbyport函数</A><BR>27.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item027">recv和send</A><BR>28.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item028">readv和writev</A><BR>29.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item029">readmsg和writemsg</A><BR>30.<A
href="http://www.rehai.cn/duangw/computer/unix_net/api.html#item030">socketpair函数</A><BR>31.<A
href="ht
评论1