bool LimitToP2PProtocols(bool yes) { if (reader != null) { if (yes) { Trace.WriteLine("Limit to P2P protocols: yes"); } else { Trace.WriteLine("Limit to P2P protocols: no"); } if (!LlcpInitiator.LimitToP2PProtocols(reader, yes)) { MessageBox.Show("Warning: problem with Control"); return(false); } } return(true); }
bool AnnounceReceiver(bool yes) { if (reader != null) { if (yes) { Trace.WriteLine("Announce receiver: yes"); } else { Trace.WriteLine("Announce receiver: no"); } if (!LlcpInitiator.AnnounceSnepServer(reader, yes)) { MessageBox.Show("Warning: problem with ATR GI"); return(false); } } return(true); }