You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled exception. System.Net.Sockets.SocketException (107): Transport endpoint is not connected
at InTheHand.Net.Sockets.LinuxSocket.ThrowOnSocketError(Int32 result, Boolean throwOnDisconnected)
at InTheHand.Net.Sockets.LinuxSocket.get_RemoteEndPoint()
at InTheHand.Net.Sockets.LinuxSocket.get_Connected()
at InTheHand.Net.Sockets.LinuxSocket.Dispose(Boolean disposing)
at System.Net.Sockets.Socket.Dispose()
So far I don't see any obvious reason to not just call Close unconditionally in Dispose implementation instead of checking result of getpeername (called by RemoteEndPoint property, which then throws due to received error code).
The text was updated successfully, but these errors were encountered:
results in:
So far I don't see any obvious reason to not just call Close unconditionally in Dispose implementation instead of checking result of
getpeername
(called byRemoteEndPoint
property, which then throws due to received error code).The text was updated successfully, but these errors were encountered: