DotNetty如何获取客户端的IP地址
IPEndPoint iPEndPoint = (IPEndPoint)context.Channel.RemoteAddress; string ip = iPEndPoint.Address.ToString();