예제 #1
0
 public RpcClient(IPAddress hostIPAddress, int port)
 {
     EnsureUtil.NotNull(hostIPAddress, "hostIPAddress");
     EnsureUtil.Positive(port, "port");
     _hostIPAddress = hostIPAddress;
     _bindPort      = port;
 }
예제 #2
0
 public RpcServer(int port)
 {
     EnsureUtil.Positive(port, "port");
     _bindPort = port;
 }