s是套接字描述符。
The socket system call also assigns the protocol to the created socket descriptor.
socket系统调用还向创建的套接字描述符分配协议。
Once a connection request is processed, a new socket descriptor is returned by accept.
处理连接请求后,accept将返回新的套接字描述符。
The listen system call calls solisten with the socket descriptor and backlog values specified in the listen call.
listen系统调用使用套接字描述符和listen调用中指定的backlog值调用solisten。
On returning to the tcp_usrreq function, the socket descriptor is made to point to the socket's TCP control block.
在返回到tcp_usrreq函数时,创建套接字描述符,以指向套接字的tcp控制块。
While recv (a library function used by the process), recvfrom, and recvmsg operate only on socket descriptor, read and readv can operate on any kind of descriptor.
尽管recv(进程使用的库函数)、recvfrom和recvmsg仅可以对套接字描述符操作,但read和readv可以对任何种类的描述符操作。
A protocol-specific call, pr_usrreq, is then made, which switches to the corresponding protocol-specific request associated with the socket descriptor. The prototype of the pr_usrreq function is.
然后进行协议特定的调用pr_usrreq,进而切换到与套接字描述符关联的相应协议特定的请求。
The socket system call creates a new socket by assigning a new descriptor.
socket系统调用通过分配新的描述符创建新的套接字。
For example, typical read and write operations may be performed on a networking socket (which is represented by a file descriptor, just as a normal file).
例如,典型的读写操作可以在网络socket上执行(socket使用一个文件描述符表示,与一个普通文件一样)。
Therefore, when the ACL command is executed, the socket file descriptor can be reused by the child.
因而,当acl命令是执行后,插座可以重复使用的文件描述符的孩子。
Therefore, when the ACL command is executed, the socket file descriptor can be reused by the child.
因而,当acl命令是执行后,插座可以重复使用的文件描述符的孩子。
应用推荐