SocketTools .NET Edition

SocketWrench.OnTimeout Event

Occurs when a blocking operation fails to complete before the timeout period elapses.

[Visual Basic]
Public Event OnTimeout As EventHandler
[C#]
public event EventHandler OnTimeout;

Remarks

The OnTimeout event occurs when a blocking operation, such as sending or receiving data on the socket, fails to complete before the specified timeout period elapses. The timeout period for a blocking operation can be adjusted by setting the Timeout property.

This event is only generated if the socket is in blocking mode.

See Also

SocketWrench Class | SocketTools Namespace