亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? recvfrom.html

?? posix標(biāo)準(zhǔn)英文,html格式
?? HTML
字號(hào):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta name="generator" content="HTML Tidy, see www.w3.org"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link type="text/css" rel="stylesheet" href="style.css"><!-- Generated by The Open Group's rhtm tool v1.2.1 --><!-- Copyright (c) 2001-2004 IEEE and The Open Group, All Rights Reserved --><title>recvfrom</title></head><body bgcolor="white"><script type="text/javascript" language="JavaScript" src="../jscript/codes.js"></script><basefont size="3"> <a name="recvfrom"></a> <a name="tag_03_601"></a><!-- recvfrom --> <!--header start--><center><font size="2">The Open Group Base Specifications Issue 6<br>IEEE Std 1003.1, 2004 Edition<br>Copyright &copy; 2001-2004 The IEEE and The Open Group, All Rights reserved.</font></center><!--header end--><hr size="2" noshade><h4><a name="tag_03_601_01"></a>NAME</h4><blockquote>recvfrom - receive a message from a socket</blockquote><h4><a name="tag_03_601_02"></a>SYNOPSIS</h4><blockquote class="synopsis"><p><code><tt>#include &lt;<a href="../basedefs/sys/socket.h.html">sys/socket.h</a>&gt;<br><br> ssize_t recvfrom(int</tt> <i>socket</i><tt>, void *restrict</tt> <i>buffer</i><tt>, size_t</tt> <i>length</i><tt>,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int</tt> <i>flags</i><tt>, struct sockaddr *restrict</tt> <i>address</i><tt>,<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; socklen_t *restrict</tt> <i>address_len</i><tt>);<br></tt></code></p></blockquote><h4><a name="tag_03_601_03"></a>DESCRIPTION</h4><blockquote><p>The <i>recvfrom</i>() function shall receive a message from a connection-mode or connectionless-mode socket. It is normally usedwith connectionless-mode sockets because it permits the application to retrieve the source address of received data.</p><p>The <i>recvfrom</i>() function takes the following arguments:</p><dl compact><dt><i>socket</i></dt><dd>Specifies the socket file descriptor.</dd><dt><i>buffer</i></dt><dd>Points to the buffer where the message should be stored.</dd><dt><i>length</i></dt><dd>Specifies the length in bytes of the buffer pointed to by the <i>buffer</i> argument.</dd><dt><i>flags</i></dt><dd>Specifies the type of message reception. Values of this argument are formed by logically OR'ing zero or more of the followingvalues: <dl compact><dt>MSG_PEEK</dt><dd>Peeks at an incoming message. The data is treated as unread and the next <i>recvfrom</i>() or similar function shall stillreturn this data.</dd><dt>MSG_OOB</dt><dd>Requests out-of-band data. The significance and semantics of out-of-band data are protocol-specific.</dd><dt>MSG_WAITALL</dt><dd>On SOCK_STREAM sockets this requests that the function block until the full amount of data can be returned. The function mayreturn the smaller amount of data if the socket is a message-based socket, if a signal is caught, if the connection is terminated,if MSG_PEEK was specified, or if an error is pending for the socket.</dd></dl></dd><dt><i>address</i></dt><dd>A null pointer, or points to a <b>sockaddr</b> structure in which the sending address is to be stored. The length and format ofthe address depend on the address family of the socket.</dd><dt><i>address_len</i></dt><dd>Specifies the length of the <b>sockaddr</b> structure pointed to by the <i>address</i> argument.</dd></dl><p>The <i>recvfrom</i>() function shall return the length of the message written to the buffer pointed to by the <i>buffer</i>argument. For message-based sockets, such as <sup>[<a href="javascript:open_code('RS')">RS</a>]</sup> <img src="../images/opt-start.gif" alt="[Option Start]" border="0"> &nbsp;SOCK_RAW, <img src="../images/opt-end.gif" alt="[Option End]"border="0"> SOCK_DGRAM, and SOCK_SEQPACKET, the entire message shall be read in a single operation. If a message is too long to fitin the supplied buffer, and MSG_PEEK is not set in the <i>flags</i> argument, the excess bytes shall be discarded. For stream-basedsockets, such as SOCK_STREAM, message boundaries shall be ignored. In this case, data shall be returned to the user as soon as itbecomes available, and no data shall be discarded.</p><p>If the MSG_WAITALL flag is not set, data shall be returned only up to the end of the first message.</p><p>Not all protocols provide the source address for messages. If the <i>address</i> argument is not a null pointer and the protocolprovides the source address of messages, the source address of the received message shall be stored in the <b>sockaddr</b>structure pointed to by the <i>address</i> argument, and the length of this address shall be stored in the object pointed to by the<i>address_len</i> argument.</p><p>If the actual length of the address is greater than the length of the supplied <b>sockaddr</b> structure, the stored addressshall be truncated.</p><p>If the <i>address</i> argument is not a null pointer and the protocol does not provide the source address of messages, the valuestored in the object pointed to by <i>address</i> is unspecified.</p><p>If no messages are available at the socket and O_NONBLOCK is not set on the socket's file descriptor, <i>recvfrom</i>() shallblock until a message arrives. If no messages are available at the socket and O_NONBLOCK is set on the socket's file descriptor,<i>recvfrom</i>() shall fail and set <i>errno</i> to [EAGAIN] or [EWOULDBLOCK].</p></blockquote><h4><a name="tag_03_601_04"></a>RETURN VALUE</h4><blockquote><p>Upon successful completion, <i>recvfrom</i>() shall return the length of the message in bytes. If no messages are available tobe received and the peer has performed an orderly shutdown, <i>recvfrom</i>() shall return 0. Otherwise, the function shall return-1 and set <i>errno</i> to indicate the error.</p></blockquote><h4><a name="tag_03_601_05"></a>ERRORS</h4><blockquote><p>The <i>recvfrom</i>() function shall fail if:</p><dl compact><dt>[EAGAIN] or [EWOULDBLOCK]</dt><dd>The socket's file descriptor is marked O_NONBLOCK and no data is waiting to be received; or MSG_OOB is set and no out-of-band datais available and either the socket's file descriptor is marked O_NONBLOCK or the socket does not support blocking to awaitout-of-band data.</dd><dt>[EBADF]</dt><dd>The <i>socket</i> argument is not a valid file descriptor.</dd><dt>[ECONNRESET]</dt><dd>A connection was forcibly closed by a peer.</dd><dt>[EINTR]</dt><dd>A signal interrupted <i>recvfrom</i>() before any data was available.</dd><dt>[EINVAL]</dt><dd>The MSG_OOB flag is set and no out-of-band data is available.</dd><dt>[ENOTCONN]</dt><dd>A receive is attempted on a connection-mode socket that is not connected.</dd><dt>[ENOTSOCK]</dt><dd>The <i>socket</i> argument does not refer to a socket.</dd><dt>[EOPNOTSUPP]</dt><dd>The specified flags are not supported for this socket type.</dd><dt>[ETIMEDOUT]</dt><dd>The connection timed out during connection establishment, or due to a transmission timeout on active connection.</dd></dl><p>The <i>recvfrom</i>() function may fail if:</p><dl compact><dt>[EIO]</dt><dd>An I/O error occurred while reading from or writing to the file system.</dd><dt>[ENOBUFS]</dt><dd>Insufficient resources were available in the system to perform the operation.</dd><dt>[ENOMEM]</dt><dd>Insufficient memory was available to fulfill the request.</dd></dl></blockquote><hr><div class="box"><em>The following sections are informative.</em></div><h4><a name="tag_03_601_06"></a>EXAMPLES</h4><blockquote><p>None.</p></blockquote><h4><a name="tag_03_601_07"></a>APPLICATION USAGE</h4><blockquote><p>The <a href="../functions/select.html"><i>select</i>()</a> and <a href="../functions/poll.html"><i>poll</i>()</a> functions canbe used to determine when data is available to be received.</p></blockquote><h4><a name="tag_03_601_08"></a>RATIONALE</h4><blockquote><p>None.</p></blockquote><h4><a name="tag_03_601_09"></a>FUTURE DIRECTIONS</h4><blockquote><p>None.</p></blockquote><h4><a name="tag_03_601_10"></a>SEE ALSO</h4><blockquote><p><a href="poll.html"><i>poll</i>()</a>, <a href="read.html"><i>read</i>()</a>, <a href="recv.html"><i>recv</i>()</a>, <a href="recvmsg.html"><i>recvmsg</i>()</a>, <a href="select.html"><i>select</i>()</a>, <a href="send.html"><i>send</i>()</a>, <a href="sendmsg.html"><i>sendmsg</i>()</a>, <a href="sendto.html"><i>sendto</i>()</a>, <a href="shutdown.html"><i>shutdown</i>()</a>,<a href="socket.html"><i>socket</i>()</a>, <a href="write.html"><i>write</i>()</a>, the Base Definitions volume ofIEEE&nbsp;Std&nbsp;1003.1-2001, <a href="../basedefs/sys/socket.h.html"><i>&lt;sys/socket.h&gt;</i></a></p></blockquote><h4><a name="tag_03_601_11"></a>CHANGE HISTORY</h4><blockquote><p>First released in Issue 6. Derived from the XNS, Issue 5.2 specification.</p></blockquote><div class="box"><em>End of informative text.</em></div><hr size="2" noshade><center><font size="2"><!--footer start-->UNIX &reg; is a registered Trademark of The Open Group.<br>POSIX &reg; is a registered Trademark of The IEEE.<br>[ <a href="../mindex.html">Main Index</a> | <a href="../basedefs/contents.html">XBD</a> | <a href="../utilities/contents.html">XCU</a> | <a href="../functions/contents.html">XSH</a> | <a href="../xrat/contents.html">XRAT</a>]</font></center><!--footer end--><hr size="2" noshade></body></html>

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品亚洲免费视频| 亚洲激情男女视频| 国产成人亚洲综合a∨婷婷| 国产色一区二区| 日韩黄色一级片| 国产成人三级在线观看| 中文字幕av一区二区三区高| 99国产精品视频免费观看| 亚洲观看高清完整版在线观看| 91精品国产一区二区人妖| 国产在线播放一区| 亚洲婷婷综合久久一本伊一区| 欧美电影在线免费观看| 国产成人午夜视频| 亚洲国产日韩精品| 中文字幕第一区二区| 在线观看欧美黄色| 国产成人在线观看免费网站| 亚洲国产你懂的| 国产精品乱码人人做人人爱 | 成人黄色小视频在线观看| 同产精品九九九| 亚洲欧美一区二区不卡| 亚洲精品一区二区三区香蕉| 色欧美片视频在线观看| 国产裸体歌舞团一区二区| 亚洲欧美中日韩| 久久婷婷综合激情| 日韩亚洲欧美成人一区| 91国偷自产一区二区使用方法| 极品少妇xxxx精品少妇| 日韩黄色小视频| 亚洲午夜免费电影| 亚洲国产欧美另类丝袜| 国产精品美女久久久久久 | 久久亚洲捆绑美女| 精品国产麻豆免费人成网站| 欧美日韩免费高清一区色橹橹 | 一本色道a无线码一区v| 成人av网站在线观看免费| 国产成人精品三级麻豆| 国产真实乱对白精彩久久| 奇米色一区二区三区四区| 亚洲成av人片一区二区三区 | 韩国中文字幕2020精品| 麻豆国产精品官网| 久久成人久久爱| 亚洲欧美一区二区三区极速播放| 国产欧美一区二区三区网站| 久久久蜜桃精品| 国产精品久久久久一区二区三区| 久久久亚洲国产美女国产盗摄| 久久久久久久久久看片| 久久精品视频网| 亚洲欧洲日产国码二区| 亚洲精品亚洲人成人网在线播放| 亚洲男人都懂的| 亚洲成人免费在线观看| 美日韩一区二区三区| 国产在线国偷精品免费看| 91国内精品野花午夜精品| 91片黄在线观看| 欧美在线观看视频一区二区 | 精品国产自在久精品国产| 久久精品一区二区三区不卡| 国产精品三级av| 日韩精品亚洲专区| 国产老妇另类xxxxx| 91视频com| 欧美男生操女生| 国产欧美一区视频| 亚洲国产精品视频| 国产精品18久久久久| 成人av网址在线| 欧美老女人第四色| 国产精品欧美一级免费| 午夜一区二区三区视频| 国产精品456| 欧美一级黄色大片| 亚洲日穴在线视频| 国产一区二区在线看| 欧美日韩国产小视频| 国产欧美精品在线观看| 美腿丝袜亚洲一区| 欧美色图片你懂的| 国产精品高清亚洲| 久久91精品久久久久久秒播| 在线国产电影不卡| 亚洲色图在线视频| 国产成人精品影院| 久久婷婷成人综合色| 日本美女一区二区| 欧美性xxxxxxxx| 亚洲激情网站免费观看| 成人精品国产一区二区4080 | 国产精品99久久久久久宅男| 欧美一区二区三区视频在线观看| 自拍视频在线观看一区二区| 精品一二线国产| 欧美tk—视频vk| 美女视频黄a大片欧美| 在线综合视频播放| 首页亚洲欧美制服丝腿| 欧美精品色一区二区三区| 亚洲午夜影视影院在线观看| 日本丶国产丶欧美色综合| 国产精品第五页| 色婷婷精品久久二区二区蜜臀av| 中文字幕亚洲在| 91蝌蚪国产九色| 亚洲动漫第一页| 91精品国产综合久久福利| 美女在线观看视频一区二区| 欧美成人一级视频| 国产成人综合亚洲网站| 最好看的中文字幕久久| 色综合中文字幕国产 | 亚洲国产va精品久久久不卡综合 | 国产大陆精品国产| 椎名由奈av一区二区三区| 欧美视频在线观看一区二区| 亚洲成av人片一区二区三区| 欧美一级爆毛片| 国产一区二区三区美女| 国产欧美一区二区在线观看| 色偷偷88欧美精品久久久| 亚洲r级在线视频| 久久久久久免费网| 色综合色综合色综合色综合色综合 | 国产成人av在线影院| 亚洲色图一区二区| 日韩欧美国产综合一区| 91在线播放网址| 美国一区二区三区在线播放| 国产精品久久精品日日| 日韩一区二区三区视频| 本田岬高潮一区二区三区| 日韩电影在线看| 一区二区中文字幕在线| 91精品国产福利| 91丝袜美女网| 国产成人在线网站| 日韩电影一区二区三区| 国产精品狼人久久影院观看方式| 欧美一区二区视频观看视频| 国产91精品免费| 久久国产免费看| 五月天亚洲精品| 亚洲欧美电影院| 日本一区二区三区视频视频| 欧美一区二区三区性视频| 91精彩视频在线观看| 成人精品在线视频观看| 韩国理伦片一区二区三区在线播放| 亚洲国产日日夜夜| 亚洲女性喷水在线观看一区| 国产偷v国产偷v亚洲高清| 欧美一级高清大全免费观看| 欧美精品tushy高清| 欧美视频精品在线观看| 在线欧美日韩国产| 91在线丨porny丨国产| av网站一区二区三区| www.欧美精品一二区| 大美女一区二区三区| 成人一级片在线观看| 国产aⅴ精品一区二区三区色成熟| 奇米色一区二区| 国产综合久久久久久久久久久久| 久久99久久99| 国产精品一区二区果冻传媒| 国产成人综合在线播放| www.一区二区| 91蝌蚪porny| 欧美丝袜丝交足nylons| 欧美二区三区的天堂| 精品国产乱码久久久久久牛牛| 欧美成人官网二区| 国产欧美精品日韩区二区麻豆天美| 国产欧美精品一区二区三区四区| 国产精品伦理一区二区| 亚洲精品高清视频在线观看| 日韩精品一二区| 国产精品1区二区.| 日本高清不卡aⅴ免费网站| 欧美三级日本三级少妇99| 日韩精品一区二区三区swag| 久久久99久久| 亚洲资源在线观看| 激情久久久久久久久久久久久久久久| 高清beeg欧美| 欧美美女喷水视频| 久久一夜天堂av一区二区三区| 亚洲欧美色一区| 捆绑调教一区二区三区| 91麻豆自制传媒国产之光| 日韩一级在线观看| 亚洲男人的天堂在线aⅴ视频| 久久不见久久见中文字幕免费| 91蜜桃在线观看|