Merge pull request #524 from Olink/general-devel
Add in error ignore for the socket exception in the packet bufferer.
This commit is contained in:
commit
07c639d569
1 changed files with 23 additions and 16 deletions
|
|
@ -201,7 +201,14 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
catch (SocketException e)
|
catch (SocketException e)
|
||||||
{
|
{
|
||||||
|
switch ((uint)e.ErrorCode)
|
||||||
|
{
|
||||||
|
case 0x80004005:
|
||||||
|
break;
|
||||||
|
default:
|
||||||
Log.Warn(e.ToString());
|
Log.Warn(e.ToString());
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue