Example #1
0
    //address表示ip:端口
    public Session ConnectServer(string address)
    {
        AChannel channel = this.Service.ConnectChannel(address);

        channel.Start();
        Session session = new Session(channel);

        return(session);
    }