Daap.Client.Client C# (CSharp) Method

Client() public method

public Client ( IPAddress address, UInt16 port ) : System
address System.Net.IPAddress
port System.UInt16
return System
        public Client(IPAddress address, UInt16 port)
        {
            this.address = address;
            this.port = port;
            fetcher = new ContentFetcher (address, port);

            ContentNode node = ContentParser.Parse (ContentCodeBag.Default, fetcher.Fetch ("/server-info"));
            serverInfo = ServerInfo.FromNode (node);
        }

Same methods

Client::Client ( Daap.Service service ) : System
Client::Client ( string host, UInt16 port ) : System