listen调用指示协议,服务器进程准备接受套接字上任何新传入的连接。
The listen call indicates to the protocol that the server process is ready to accept any new incoming connections on the socket.
控制现在返回到connect函数,该函数处于睡眠状态,直到协议层唤醒—指示连接现在是ESTABLISHED,或套接字上存在错误。
The control now returns to the connect function, which sleeps until the protocol layer wakes up-indicating that the connection is now ESTABLISHED or that there has been an error on the socket.
从soconnect返回时,connect函数进入睡眠状体,直到协议层将其唤醒,并指示连接是ESTABLISHED或套接字上存在错误。
Upon returning from soconnect , the connect function issues a sleep until the protocol layer wakes it up, indicating that the connection is ESTABLISHED or there has been some error on the socket.
应用推荐