somdoron / AsyncIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set a Send timeout?

wmjordan opened this issue · comments

commented

I met with a situation that the Send operation would not receive notification from the CompletionPort thread until several minutes later, a SocketErrorCode.ConnectionReset finally arrived.
How can we specify a timeout to terminate the Send operations which take too long?

commented

The send timeout shall be implemented outside of AsyncIO.