mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Renamed stuff on UserManagerBase to get implicit implementation of IUserServices (instead of stubs)
This commit is contained in:
@@ -103,18 +103,24 @@ namespace OpenSim.Region.ClientStack
|
||||
Packet packet = null;
|
||||
|
||||
int numBytes;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
numBytes = Server.EndReceiveFrom(result, ref epSender);
|
||||
}
|
||||
catch (System.Net.Sockets.SocketException e)
|
||||
{
|
||||
Console.WriteLine("Remote host Closed connection");
|
||||
|
||||
CloseEndPoint(epSender);
|
||||
|
||||
//Server.BeginReceiveFrom(RecvBuffer, 0, RecvBuffer.Length, SocketFlags.None, ref epSender, ReceivedData, null);
|
||||
// TODO : Actually only handle those states that we have control over, re-throw everything else,
|
||||
// TODO: implement cases as we encounter them.
|
||||
switch (e.SocketErrorCode)
|
||||
{
|
||||
case SocketError.AlreadyInProgress:
|
||||
case SocketError.NetworkReset:
|
||||
default:
|
||||
Console.WriteLine("Remote host Closed connection");
|
||||
CloseEndPoint(epSender);
|
||||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user