using System; using System.Collections.Generic; using System.Text; namespace Apewer.Network { /// 套接字数据接收模型。 [Serializable] public sealed class SocketReceived { /// 对端 IP 地址。 public string IP { get; set; } /// 对端端口。 public int Port { get; set; } /// 对端数据。 public byte[] Bytes { get; set; } /// public SocketReceived() { } /// public SocketReceived(string ip, int port, byte[] bytes) { IP = ip; Port = port; Bytes = bytes; } } }