Skip to content

Commit

Permalink
fixed a bug abiout udp connection
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed Mar 14, 2024
1 parent cda12e1 commit 31d0194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SuperSocket.Udp/UdpConnectionFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public Task<IConnection> CreateConnection(object connection, CancellationToken c

var filter = PipelineFilterFactory.Create(connectionInfo.Socket);

return Task.FromResult<IConnection>(new UdpPipeConnection<TPackageInfo>(connectionInfo.Socket, filter, connectionInfo.ConnectionOptions, connectionInfo.Socket.RemoteEndPoint as IPEndPoint, connectionInfo.SessionIdentifier));
return Task.FromResult<IConnection>(new UdpPipeConnection<TPackageInfo>(connectionInfo.Socket, filter, connectionInfo.ConnectionOptions, connectionInfo.RemoteEndPoint, connectionInfo.SessionIdentifier));
}
}
}

0 comments on commit 31d0194

Please sign in to comment.