Skip to content
Snippets Groups Projects
Commit 93abfb56 authored by Lucas Givord's avatar Lucas Givord
Browse files

vtkSocket: fix win32 error handling

Previously when encountering an error during a Receive() call, server
hangs indefinitely as only WSAENOBUFS was checked.

For WSAECONNABORTED we cannot know if the disconnection is expected or
not so we don't output an error but log a trace for debugging purpose.

(cherry picked from commit c86e3aaa)
parent cd00a057
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment