Occurs when a blocking operation fails to complete before the timeout period elapses.
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.