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

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

?? accept.2

?? eCos/RedBoot for勤研ARM AnywhereII(4510) 含全部源代碼
?? 2
字號:
.\"	$OpenBSD: accept.2,v 1.12 2001/03/11 05:02:29 aaron Exp $
.\"	$NetBSD: accept.2,v 1.7 1996/01/31 20:14:42 mycroft Exp $
.\"
.\" Copyright (c) 1983, 1990, 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.
.\"
.\"     @(#)accept.2	8.2 (Berkeley) 12/11/93
.\"
.Dd February 15, 1999
.Dt ACCEPT 2
.Os
.Sh NAME
.Nm accept
.Nd accept a connection on a socket
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Ft int
.Fn accept "int s" "struct sockaddr *addr" "socklen_t *addrlen"
.Sh DESCRIPTION
The argument
.Fa s
is a socket that has been created with
.Xr socket 2 ,
bound to an address with
.Xr bind 2 ,
and is listening for connections after a
.Xr listen 2 .
The
.Fn accept
argument extracts the first connection request on the queue of pending
connections, creates a new socket with the same properties of
.Fa s ,
and allocates a new file descriptor for the socket.
If no pending connections are present on the queue,
and the socket is not marked as non-blocking,
.Fn accept
blocks the caller until a connection is present.
If the socket is marked non-blocking and no pending
connections are present on the queue,
.Fn accept
returns an error as described below.
The accepted socket may not be used to accept more connections.
The original socket
.Fa s
remains open.
.Pp
The argument
.Fa addr
is a result parameter that is filled in with the address of the connecting
entity as known to the communications layer.
The exact format of the
.Fa addr
parameter is determined by the domain in which the communication
is occurring.
The
.Fa addrlen
is a value-result parameter; it should initially contain the
amount of space pointed to by
.Fa addr ;
on return it will contain the actual length (in bytes) of the
address returned.
This call is used with connection-based socket types, currently with
.Dv SOCK_STREAM .
.Pp
It is possible to
.Xr select 2
or
.Xr poll 2
a socket for the purposes of doing an
.Fn accept
by selecting it for read.
.Pp
For certain protocols which require an explicit confirmation, such as
.Tn ISO
or
.Tn DATAKIT ,
.Fn accept
can be thought of as merely dequeuing the next connection
request and not implying confirmation.
Confirmation can be implied by a normal read or write on the new file
descriptor, and rejection can be implied by closing the new socket.
.Pp
One can obtain user connection request data without confirming
the connection by issuing a
.Xr recvmsg 2
call with an
.Fa msg_iovlen
of 0 and a non-zero
.Fa msg_controllen ,
or by issuing a
.Xr getsockopt 2
request.
Similarly, one can provide user connection rejection information
by issuing a
.Xr sendmsg 2
call with providing only the control information, or by calling
.Xr setsockopt 2 .
.Sh RETURN VALUES
The call returns \-1 on error.
If it succeeds, it returns a non-negative integer that is a descriptor
for the accepted socket.
.Sh ERRORS
The
.Fn accept
will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
The descriptor is invalid.
.It Bq Er ENOTSOCK
The descriptor references a file, not a socket.
.It Bq Er EOPNOTSUPP
The referenced socket is not of type
.Dv SOCK_STREAM .
.It Bq Er EINVAL
The referenced socket is not listening for connections (that is,
.Xr listen 2
has not yet been called).
.It Bq Er EFAULT
The
.Fa addr
parameter is not in a writable part of the user address space.
.It Bq Er EWOULDBLOCK
The socket is marked non-blocking and no connections
are present to be accepted.
.It Bq Er EMFILE
The per-process descriptor table is full.
.It Bq Er ENFILE
The system file table is full.
.It Bq Er ECONNABORTED
A connection has been aborted.
.El
.Sh SEE ALSO
.Xr bind 2 ,
.Xr connect 2 ,
.Xr listen 2 ,
.Xr poll 2 ,
.Xr select 2 ,
.Xr poll 2 ,
.Xr socket 2
.Sh HISTORY
The
.Fn accept
function appeared in
.Bx 4.2 .

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美一区二区免费| 岛国精品一区二区| 欧美精品在线一区二区| 免费视频最近日韩| 欧美韩日一区二区三区| 欧亚一区二区三区| 麻豆成人久久精品二区三区红 | 一区二区三区精密机械公司| 欧美军同video69gay| 欧美日韩国产成人在线免费| 国产丶欧美丶日本不卡视频| 一区二区三区四区不卡视频| 一区二区三区中文字幕精品精品| 一区二区三区小说| 亚洲chinese男男1069| 国产精品久久久久婷婷二区次| 678五月天丁香亚洲综合网| 成人永久免费视频| 色婷婷av一区| 懂色中文一区二区在线播放| 蜜臀精品久久久久久蜜臀| 毛片一区二区三区| 成人免费视频一区| 色老综合老女人久久久| 福利一区二区在线观看| 99v久久综合狠狠综合久久| 国产精品一区二区免费不卡 | 美女视频一区二区三区| 成人午夜又粗又硬又大| 色一区在线观看| 欧美一卡二卡在线| 在线视频一区二区免费| 日韩欧美精品在线| 国产精品久久久久久久蜜臀| 性做久久久久久久免费看| 精品无码三级在线观看视频| 免费观看久久久4p| 99久久久国产精品| 欧美一区二区三区视频免费| 国产精品国产三级国产有无不卡 | 亚洲日韩欧美一区二区在线| 国产精品热久久久久夜色精品三区 | 奇米色777欧美一区二区| 国产盗摄女厕一区二区三区| 欧美日韩中文一区| 欧美午夜精品电影| 欧美美女bb生活片| 国产日产欧美一区二区视频| 日本一区二区高清| 天天色综合天天| 久久91精品国产91久久小草 | 欧美日本在线视频| 国产精品久久久久影视| 免费观看成人鲁鲁鲁鲁鲁视频| 91在线观看高清| 在线观看亚洲一区| 国产精品乱子久久久久| 久久99国产精品久久99| 欧美日韩dvd在线观看| 亚洲欧洲制服丝袜| 亚洲国产wwwccc36天堂| 久久国产精品99久久久久久老狼| 韩国成人福利片在线播放| 99这里都是精品| 欧美日本高清视频在线观看| 亚洲精品一卡二卡| 日本一道高清亚洲日美韩| 国产精品一区专区| 精品日韩欧美一区二区| 亚洲乱码国产乱码精品精可以看 | 久久精品国产99国产| 欧美日韩亚洲国产综合| 亚洲视频电影在线| 91免费看`日韩一区二区| 国产精品少妇自拍| 成人不卡免费av| 51精品秘密在线观看| 一区二区不卡在线播放| 一本到不卡免费一区二区| 1区2区3区精品视频| 毛片不卡一区二区| 欧美成人r级一区二区三区| 久久av资源站| 国产亚洲欧美日韩日本| 亚洲成人你懂的| 欧美一级精品大片| 亚洲精品高清视频在线观看| 色先锋aa成人| 亚洲宅男天堂在线观看无病毒| 国产精品99久| 成人免费在线播放视频| 91黄色免费版| 日韩av成人高清| 久久亚洲影视婷婷| 秋霞午夜鲁丝一区二区老狼| 欧美一二三四区在线| 久久99国产精品免费网站| 久久精品亚洲乱码伦伦中文| 91视频www| 日韩国产欧美在线视频| 久久久精品日韩欧美| 日韩电影在线免费观看| 久久婷婷国产综合国色天香| 91蝌蚪porny| 日本不卡一二三| 欧美极品另类videosde| 欧美午夜免费电影| 国产一区亚洲一区| 久久久国产精品麻豆| av不卡在线播放| 蜜乳av一区二区| 中文字幕一区二区三区在线播放| 欧美午夜宅男影院| 国产成人午夜视频| 午夜国产不卡在线观看视频| 国产日韩精品久久久| 欧美久久免费观看| 波多野结衣在线aⅴ中文字幕不卡| 亚洲国产一区二区三区| 国产欧美精品区一区二区三区| 欧美日韩综合色| 99re这里只有精品首页| 精品一区二区三区在线观看 | 国产偷国产偷亚洲高清人白洁| 色婷婷久久综合| 国产成人aaaa| 久久99热国产| 日韩精品福利网| 精品久久人人做人人爽| 91欧美一区二区| 成人网页在线观看| 狠狠色狠狠色综合日日91app| 亚洲国产日韩一区二区| 亚洲日本va午夜在线影院| 久久久久亚洲综合| 日韩欧美激情四射| 制服丝袜中文字幕一区| 欧美三级日本三级少妇99| 99精品视频免费在线观看| 国产一区不卡视频| 精品一区二区日韩| 五月天丁香久久| 亚洲观看高清完整版在线观看 | 一区二区高清免费观看影视大全| 国产欧美视频一区二区三区| 精品久久久久久久久久久久包黑料| 欧美日韩精品一区二区三区 | 日韩专区在线视频| 亚洲一区二区三区在线看| 亚洲情趣在线观看| 亚洲欧美成人一区二区三区| 中文字幕成人在线观看| 国产欧美日韩精品在线| 欧美激情自拍偷拍| 欧美激情一区二区三区在线| 国产日产欧美一区二区视频| 国产亚洲制服色| 中文欧美字幕免费| 亚洲欧美综合在线精品| 亚洲精品国产精华液| 亚洲午夜激情网站| 日韩av电影一区| 紧缚捆绑精品一区二区| 欧美群妇大交群中文字幕| 欧美中文字幕一区二区三区 | 成人app在线观看| 97精品电影院| 欧美日韩一区中文字幕| 91.xcao| 欧美大片拔萝卜| 国产精品免费av| 亚洲国产欧美另类丝袜| 日本在线不卡视频一二三区| 国产一区视频在线看| 91在线播放网址| 欧美一区二区在线看| 国产亚洲女人久久久久毛片| 亚洲精品视频自拍| 免费成人性网站| 99精品欧美一区| 在线播放中文字幕一区| 国产网红主播福利一区二区| 亚洲免费观看在线观看| 蜜臀国产一区二区三区在线播放| 国产成人av电影在线| 欧美亚洲动漫制服丝袜| 精品999久久久| 欧美一区二区视频在线观看2020 | 亚洲一区二区精品久久av| 蜜臀国产一区二区三区在线播放 | 日本韩国精品在线| 日韩欧美卡一卡二| 日韩美女视频一区二区| 青青草一区二区三区| 成人h精品动漫一区二区三区| 欧美日韩一级大片网址| 中文一区在线播放| 日韩影院免费视频| av电影一区二区| 久久久久久一级片|