• 预防此类攻击接受连接线程应该不时地通过调用getsockopt()函数(选项参数为SO_CONNECT_TIME)来检查AcceptEx()里守候

    To prevent malicious attacks or stale connections, the accepting thread should occasionally check the sockets outstanding in AcceptEx by calling getsockopt and SO_CONNECT_TIME.

    youdao

  • 控制现在返回到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.

    youdao

  • 如果存在任何套接错误,则函数返回继续队列拾取新的连接调用soaccept

    If there were any socket errors, the function returns, and it proceeds further by picking up the new connection from the queue and calls soaccept.

    youdao

  • 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.

    youdao

  • main函数创建用来监听连接然后创建accept回调函数以便通过事件处理函数处理每个连接

    Main : the main function creates the socket to be used for listening to connections, and then creates the callback for accept to handle each connection through the event handler.

    youdao

  • soo_close()调用 so_close()函数函数首先检查关闭是否为侦听套接(正在接收传入连接的套接)。

    The soo_close() simply calls the so_close() function, which first checks if the socket to be closed is a listening socket (socket that's accepting incoming connections).

    youdao

  • soo_close()调用 so_close()函数函数首先检查关闭是否为侦听套接(正在接收传入连接的套接)。

    The soo_close() simply calls the so_close() function, which first checks if the socket to be closed is a listening socket (socket that's accepting incoming connections).

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定