/// <summary> /// Creates a TcpCommunicationChannel object and returns it so that app developers can send custom TCP messages to the manager. /// Returns a null remote host name in TcpCommunicationChannel object if the manager didn't exist. /// </summary> public override ICommunicationChannel CreateCommunicationChannel(Guid participant, int flags = 0) { TcpCommunicationChannel channel = new TcpCommunicationChannel(); channel.RemoteHostname = ((DnssdParticipantInformation)Participants[participant]).Host; return(channel); }
/// <summary> /// Creates a TcpCommunicationChannel object and returns it so that app developers can send custom TCP messages to the manager. /// Returns a null remote host name in TcpCommunicationChannel object if the manager didn't exist. /// </summary> public override ICommunicationChannel CreateCommunicationChannel(Guid participant, int flags = 0) { TcpCommunicationChannel channel = new TcpCommunicationChannel(); channel.RemoteHostname = ((DnssdParticipantInformation)Participants[participant]).Host; return channel; }