public RpcClient(IPAddress hostIPAddress, int port) { EnsureUtil.NotNull(hostIPAddress, "hostIPAddress"); EnsureUtil.Positive(port, "port"); _hostIPAddress = hostIPAddress; _bindPort = port; }
public RpcServer(int port) { EnsureUtil.Positive(port, "port"); _bindPort = port; }