Exemplo n.º 1
0
 //创建
 public NetHttpSys(INetworkCop client, string url, int port)
 {
     this.client = client;
     this.Url    = url;
     this.Port   = port;
 }
Exemplo n.º 2
0
 //创建
 public NetworkSys(INetworkCop client, string ip = "127.0.0.1", int port = 9527)
 {
     this.client = client;
     this.IP     = ip;
     this.Port   = port;
 }