-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
First day try Mina.NET , try Udp Client Demo.
But throw exception:

I found 62line in code = "read = socket.EndReceiveFrom(ar, ref remoteEP);"
private void ReceiveCallback(IAsyncResult ar)
{
System.Net.Sockets.Socket socket = (System.Net.Sockets.Socket)ar.AsyncState;
Int32 read = 0;
try
{
EndPoint remoteEP = Socket.RemoteEndPoint;
read = socket.EndReceiveFrom(ar, ref remoteEP);
}
catch (ObjectDisposedException)
{
// do nothing
return;
}
catch (Exception ex)
{
EndReceive(ex);
return;
}
Metadata
Metadata
Assignees
Labels
No labels