I wrote a simple TCP server. Right now I just swallow all exceptions in try/catch block for ClientAccept
or Socket's Accept
. Both of these throw either IOException
or SocketException
and the later redirects to Win32 Socket Errors Codes for more info.
My question is this: are all these error considered fatal to TCP connection I have saved and I should drop it? Or some of them can be ignored? Is there some writeup with a list which is which?