static void Main(string[] args) { IHello client = RPCClientFactory.GetClient <IHello>("127.0.0.1", 39999); string s = client.HeloBay("zhangsna"); Console.WriteLine("完成:" + s); Console.ReadLine(); }
static void Main(string[] args) { IHello client = RPCClientFactory.GetClient <IHello>("127.0.0.1", 39999); string s = client.HeloBay("zhangsna"); Console.WriteLine("完成:" + s); Console.ReadLine(); }