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

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

?? send.2

?? eCos/RedBoot for勤研ARM AnywhereII(4510) 含全部源代碼
?? 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一区二区三区免费野_久草精品视频
亚洲另类春色国产| 国产视频一区在线播放| yourporn久久国产精品| 韩国视频一区二区| 乱一区二区av| 黑人巨大精品欧美一区| 狠狠色丁香九九婷婷综合五月| 午夜视频一区二区三区| 亚洲一卡二卡三卡四卡五卡| 亚洲美女电影在线| 亚洲不卡av一区二区三区| 婷婷丁香激情综合| 视频一区中文字幕国产| 日本亚洲欧美天堂免费| 亚洲影视在线观看| 日韩综合小视频| 久久99精品视频| 成人性生交大合| 精品视频一区二区三区免费| 欧美日韩国产高清一区| 欧美一区2区视频在线观看| 日韩免费在线观看| 欧美激情一区二区三区在线| 亚洲天堂福利av| 亚洲第一久久影院| 黄色精品一二区| 在线观看成人小视频| 日韩精品一区二| 亚洲丝袜自拍清纯另类| 污片在线观看一区二区| 国产成人午夜视频| 欧美亚洲另类激情小说| 日韩小视频在线观看专区| 国产精品全国免费观看高清 | 欧美性生交片4| 56国语精品自产拍在线观看| 国产日产欧美一区| 亚洲激情欧美激情| 国产一区二区三区免费播放| 91美女在线看| 久久美女高清视频| 亚洲一卡二卡三卡四卡五卡| 国产二区国产一区在线观看| 欧美中文字幕不卡| 日韩欧美亚洲国产另类| 亚洲美女屁股眼交3| 国模套图日韩精品一区二区| 色播五月激情综合网| 国产午夜亚洲精品午夜鲁丝片 | 狠狠久久亚洲欧美| 色婷婷av久久久久久久| 久久无码av三级| 午夜精品免费在线| 色综合久久综合网| 国产欧美一区二区精品忘忧草 | 91香蕉视频污| 精品国产伦一区二区三区观看方式| 日本韩国欧美三级| 久久一日本道色综合| 日韩国产高清影视| 色94色欧美sute亚洲线路一久 | 国产一区二区视频在线播放| 色94色欧美sute亚洲13| 国产亚洲福利社区一区| 秋霞午夜av一区二区三区| 欧美性生活影院| 亚洲精品日韩一| 91亚洲大成网污www| 国产精品美女久久久久久久| 视频一区中文字幕国产| 欧美精品国产精品| 夜夜精品视频一区二区| 日本韩国精品在线| 亚洲免费在线观看| 色综合色综合色综合色综合色综合 | 亚洲精品中文在线影院| 91久久免费观看| 亚洲人精品一区| 色综合 综合色| 亚洲精品免费播放| 欧美性色黄大片| 亚洲国产日产av| 欧美高清一级片在线| 亚洲三级电影网站| 欧美优质美女网站| 亚洲.国产.中文慕字在线| 3d动漫精品啪啪1区2区免费| 天天av天天翘天天综合网| 欧美日韩国产综合一区二区| 丝袜亚洲另类欧美综合| 日韩视频永久免费| 国产乱码精品1区2区3区| 国产亚洲精品中文字幕| 99国产精品视频免费观看| 亚洲精品午夜久久久| 91精品国产综合久久蜜臀 | 一本大道久久a久久综合婷婷 | 国产在线视视频有精品| 日韩欧美国产午夜精品| 国产一区二区三区av电影| 亚洲国产成人在线| 欧美性一区二区| 精品夜夜嗨av一区二区三区| 国产婷婷一区二区| 91极品视觉盛宴| 国产在线播放一区三区四| 国产精品第13页| 91精品国产一区二区| 粉嫩aⅴ一区二区三区四区| 亚洲精品国产成人久久av盗摄| 国产成人av在线影院| 一区二区三区中文字幕精品精品| 精品一区二区在线观看| 国产欧美一区二区精品秋霞影院 | 精品少妇一区二区三区| 成人伦理片在线| 日韩国产欧美视频| 亚洲欧美色图小说| 欧美xingq一区二区| 91美女蜜桃在线| 黄一区二区三区| 亚洲最大成人综合| 欧美经典一区二区| 91精品国产综合久久福利软件| 亚洲高清免费在线| 国产欧美精品国产国产专区| 欧美日韩黄视频| 99re热这里只有精品免费视频| 久久精品一二三| 欧美三级在线视频| 成人不卡免费av| 秋霞影院一区二区| 一区二区三区高清不卡| 国产精品免费久久久久| 精品播放一区二区| 欧美精品乱码久久久久久| 一道本成人在线| 成年人网站91| 粉嫩av一区二区三区粉嫩| 久久成人久久鬼色| 蜜乳av一区二区| 污片在线观看一区二区| 亚洲成人免费在线观看| 一区二区三区四区蜜桃| 国产精品丝袜91| 国产三级精品视频| 国产日韩欧美精品一区| 国产亲近乱来精品视频| 国产亚洲一本大道中文在线| 久久美女高清视频| 久久久久国产一区二区三区四区| 白白色 亚洲乱淫| 99re这里只有精品视频首页| av男人天堂一区| 91啪九色porn原创视频在线观看| 椎名由奈av一区二区三区| 一区精品在线播放| 亚洲天堂a在线| 亚洲制服欧美中文字幕中文字幕| 欧美日韩美女一区二区| 欧美三级日韩三级国产三级| 欧美日韩国产色站一区二区三区| 日韩国产欧美三级| 精彩视频一区二区三区| 国产麻豆精品视频| 成人av网址在线| 99久久99久久精品免费看蜜桃| 午夜精品久久久久久| 美国十次了思思久久精品导航| 久久久久高清精品| 中文字幕欧美一区| 亚洲自拍偷拍九九九| 五月激情六月综合| 国产精品一区二区果冻传媒| 成人av电影免费观看| 欧美亚洲丝袜传媒另类| 日韩精品自拍偷拍| 久久久久久影视| 亚洲精品国产一区二区精华液| 日韩视频在线一区二区| 国产精品视频观看| 亚洲一区二区三区美女| 午夜伊人狠狠久久| 国产精品99久| 欧美吻胸吃奶大尺度电影| 欧美成人一区二区三区片免费| 日本福利一区二区| 欧美男生操女生| 久久久久久久综合| 亚洲综合久久久| 成人性生交大片免费看在线播放| 韩国一区二区三区| 欧美在线观看禁18| 久久精品欧美日韩| 五月天网站亚洲| 不卡的av网站| 欧美精品一区二区三区四区| 亚洲日本va午夜在线影院| 蜜桃久久精品一区二区| 色综合 综合色|