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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? send.2

?? 嵌入式操作系統ECOS的網絡開發包
?? 2
字號:
.\"	$OpenBSD: send.2,v 1.19 2000/10/18 05:12:11 aaron Exp $
.\"	$NetBSD: send.2,v 1.6 1996/01/15 01:17:18 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     @(#)send.2	8.2 (Berkeley) 2/21/94
.\"
.Dd July 28, 1998
.Dt SEND 2
.Os
.Sh NAME
.Nm send ,
.Nm sendto ,
.Nm sendmsg
.Nd send a message from a socket
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft ssize_t
.Fn send "int s" "const void *msg" "size_t len" "int flags"
.Ft ssize_t
.Fn sendto "int s" "const void *msg" "size_t len" "int flags" "const struct sockaddr *to" "socklen_t tolen"
.Ft ssize_t
.Fn sendmsg "int s" "const struct msghdr *msg" "int flags"
.Sh DESCRIPTION
.Fn send ,
.Fn sendto ,
and
.Fn sendmsg
are used to transmit a message to another socket.
.Fn send
may be used only when the socket is in a
.Em connected
state, while
.Fn sendto
and
.Fn sendmsg
may be used at any time.
.Pp
The address of the target is given by
.Fa to
with
.Fa tolen
specifying its size.
The length of the message is given by
.Fa len .
If the message is too long to pass atomically through the
underlying protocol, the error
.Er EMSGSIZE
is returned, and
the message is not transmitted.
.Pp
No indication of failure to deliver is implicit in a
.Fn send .
Locally detected errors are indicated by a return value of \-1.
.Pp
If no messages space is available at the socket to hold
the message to be transmitted, then
.Fn send
normally blocks, unless the socket has been placed in
non-blocking I/O mode.
The
.Xr select 2
or
.Xr poll 2
system calls may be used to determine when it is possible to
send more data.
.Pp
The
.Fa flags
parameter may include one or more of the following:
.Bd -literal
#define	MSG_OOB        0x1  /* process out-of-band data */
#define	MSG_DONTROUTE  0x4  /* bypass routing, use direct interface */
.Ed
.Pp
The flag
.Dv MSG_OOB
is used to send
.Dq out-of-band
data on sockets that support this notion (e.g.,
.Dv SOCK_STREAM ) ;
the underlying protocol must also support
.Dq out-of-band
data.
.Dv MSG_DONTROUTE
is usually used only by diagnostic or routing programs.
.Pp
See
.Xr recv 2
for a description of the
.Fa msghdr
structure.
.Sh RETURN VALUES
The call returns the number of characters sent, or \-1
if an error occurred.
.Sh ERRORS
.Fn send ,
.Fn sendto ,
and
.Fn sendmsg
fail if:
.Bl -tag -width Er
.It Bq Er EBADF
An invalid descriptor was specified.
.It Bq Er ENOTSOCK
The argument
.Fa s
is not a socket.
.It Bq Er EFAULT
An invalid user space address was specified for a parameter.
.It Bq Er EMSGSIZE
The socket requires that message be sent atomically,
and the size of the message to be sent made this impossible.
.It Bq Er EAGAIN
The socket is marked non-blocking and the requested operation
would block.
.It Bq Er ENOBUFS
The system was unable to allocate an internal buffer.
The operation may succeed when buffers become available.
.It Bq Er ENOBUFS
The output queue for a network interface was full.
This generally indicates that the interface has stopped sending,
but may be caused by transient congestion.
.It Bq Er EACCES
The
.Dv SO_BROADCAST
option is not set on the socket, and a broadcast address
was given as the destination.
.It Bq Er EHOSTUNREACH
The destination address specified an unreachable host.
.It Bq Er EINVAL
The
.Fa flags
parameter is invalid.
.It Bq Er EHOSTDOWN
The destination address specified a host that is down.
.It Bq Er ENETDOWN
The destination address specified a network that is down.
.It Bq Er ECONNREFUSED
The destination host rejected the message (or a previous one).
This error can only be returned by connected sockets.
.It Bq Er ENOPROTOOPT
There was a problem sending the message.
This error can only be returned by connected sockets.
.It Bq Er EDESTADDRREQ
The socket is not connected, and no destination address was specified.
.It Bq Er EISCONN
The socket is already connected, and a destination address was specified.
.El
.Pp
In addition,
.Fn send
and
.Fn sendto
may return the following error:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa len
was larger than
.Dv SSIZE_MAX .
.El
.Pp
Also,
.Fn sendmsg
may return the following errors:
.Bl -tag -width Er
.It Bq Er EINVAL
The sum of the
.Fa iov_len
values in the
.Fa msg_iov
array overflowed an
.Em ssize_t .
.It Bq Er EMSGSIZE
The
.Fa msg_iovlen
member of
.Fa msg
was less than 0 or larger than
.Dv IOV_MAX .
.It Bq Er EAFNOSUPPORT
Addresses in the specified address family cannot be used with this socket.
.El
.Sh SEE ALSO
.Xr fcntl 2 ,
.Xr getsockopt 2 ,
.Xr poll 2 ,
.Xr recv 2 ,
.Xr select 2 ,
.Xr poll 2 ,
.Xr socket 2 ,
.Xr write 2
.Sh HISTORY
The
.Fn send
function call appeared in
.Bx 4.2 .

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产一区二区精华| 亚洲天堂免费看| 日本一区二区在线不卡| 亚洲人成精品久久久久久| 亚洲成人自拍一区| 国产综合色在线视频区| 91在线播放网址| 日韩欧美一二区| 亚洲视频免费看| 热久久免费视频| 91在线观看高清| 欧美一区午夜视频在线观看| 久久精品一二三| 亚洲一二三四在线| 福利91精品一区二区三区| 欧美午夜精品一区二区蜜桃 | 午夜免费欧美电影| 国产成人自拍网| 欧美日韩综合一区| 国产精品午夜在线| 日本vs亚洲vs韩国一区三区二区| 成人深夜视频在线观看| 欧美一区二区三区精品| 《视频一区视频二区| 久久综合综合久久综合| 91福利小视频| 国产片一区二区三区| 午夜国产不卡在线观看视频| 成人激情视频网站| 精品理论电影在线| 亚洲国产日产av| 成人av电影免费在线播放| 日韩区在线观看| 性做久久久久久免费观看欧美| 成人毛片在线观看| 日韩欧美一卡二卡| 亚洲成av人片在线观看无码| av一区二区三区| 久久亚洲一区二区三区四区| 爽爽淫人综合网网站| 99久久国产综合精品色伊| 国产亚洲人成网站| 美国精品在线观看| 在线播放中文一区| 夜色激情一区二区| 99视频超级精品| 国产精品欧美经典| 国产成人免费9x9x人网站视频| 日韩午夜中文字幕| 日韩中文字幕麻豆| 欧美午夜电影在线播放| 亚洲天堂2016| eeuss影院一区二区三区| 日韩欧美国产一二三区| 色综合一区二区| 亚洲精品老司机| 亚洲永久免费av| 99re这里只有精品6| 亚洲国产精品99久久久久久久久| 看电视剧不卡顿的网站| 亚洲精品国产成人久久av盗摄 | 精品国产乱码久久久久久夜甘婷婷| 亚洲午夜精品在线| 欧美艳星brazzers| 亚洲最大色网站| 一本高清dvd不卡在线观看 | 欧美色国产精品| 亚洲综合精品久久| 欧日韩精品视频| 亚洲主播在线播放| 欧美日韩久久一区| 五月综合激情网| 88在线观看91蜜桃国自产| 亚洲高清久久久| 欧美高清视频www夜色资源网| 亚洲成人动漫精品| 欧美一区二区三区性视频| 日日欢夜夜爽一区| 日韩午夜激情av| 久久精品国产色蜜蜜麻豆| 2021中文字幕一区亚洲| 国产成人精品一区二| 国产精品色哟哟网站| 97精品久久久午夜一区二区三区| 亚洲男人电影天堂| 欧美午夜电影一区| 蜜臀av在线播放一区二区三区| 日韩欧美国产高清| 国产久卡久卡久卡久卡视频精品| 久久久国产午夜精品| 成人夜色视频网站在线观看| 日韩一区在线播放| 欧美网站大全在线观看| 日韩av一级电影| 久久精品视频一区二区三区| 成人av手机在线观看| 亚洲精品视频在线观看免费 | 日本欧美一区二区在线观看| 精品精品欲导航| 不卡影院免费观看| 亚洲高清视频的网址| 欧美刺激脚交jootjob| 风间由美一区二区av101 | 欧美狂野另类xxxxoooo| 精油按摩中文字幕久久| 成人免费一区二区三区视频 | 日韩国产欧美在线观看| 久久伊99综合婷婷久久伊| av中文字幕不卡| 日本午夜精品视频在线观看 | 国产激情偷乱视频一区二区三区| 综合网在线视频| 正在播放亚洲一区| 不卡一二三区首页| 午夜电影网一区| 日韩一级免费观看| 成人性视频网站| 日日夜夜精品视频免费| 国产午夜精品福利| 欧美日韩一区二区在线观看| 极品少妇xxxx偷拍精品少妇| 日韩理论片网站| 精品久久久久久久久久久久久久久| 99久久国产综合精品色伊| 成人免费av网站| 精品捆绑美女sm三区| 久久精品人人做人人爽97| 久久综合九色综合欧美98| 久久精品人人做| 亚洲精品视频自拍| 久久精品理论片| 成人一级片在线观看| 在线观看av不卡| 日韩欧美在线1卡| 久久久久久免费| 亚洲与欧洲av电影| 久久99国产乱子伦精品免费| 国产91丝袜在线播放| 成人av网站大全| 欧美二区乱c少妇| 欧美国产综合一区二区| 午夜在线电影亚洲一区| 日韩国产欧美在线视频| 91免费版pro下载短视频| 欧美成人vr18sexvr| 一区二区在线观看视频| 午夜精品国产更新| 免费在线观看一区| 99久久免费精品高清特色大片| 在线观看www91| 亚洲大片精品永久免费| 精品粉嫩超白一线天av| 91在线小视频| 国产美女久久久久| 亚洲激情网站免费观看| 国产精品久久久久久户外露出 | 亚洲国产综合在线| 国产精品久久久久久户外露出| 精品国产电影一区二区| 欧美日本乱大交xxxxx| 欧美亚洲愉拍一区二区| 一道本成人在线| 色综合久久中文字幕| 丁香网亚洲国际| 国产美女视频一区| 精品一区二区三区免费毛片爱| 亚洲制服丝袜一区| 一区二区欧美国产| 亚洲欧美福利一区二区| 国产精品免费丝袜| 国产色产综合产在线视频| www久久精品| 精品成人免费观看| 久久久久久久久一| 久久久久国色av免费看影院| 久久久亚洲精品一区二区三区| 久久亚洲一级片| 国产日韩三级在线| 国产精品久久久久久久浪潮网站 | 91在线高清观看| 91小视频在线观看| 91捆绑美女网站| 91视频观看免费| 欧美性生活一区| 欧美日韩国产bt| 在线电影国产精品| 欧美一区二区三区男人的天堂| 日韩一区二区中文字幕| 欧美一区二区黄| 久久香蕉国产线看观看99| 久久中文娱乐网| 国产精品激情偷乱一区二区∴| 日韩美女视频19| 亚洲成人免费看| 美女视频一区二区三区| 国产一区二区免费在线| 成人黄色免费短视频| 91免费看`日韩一区二区| 色狠狠一区二区三区香蕉| 欧美日韩成人综合在线一区二区|