ParseActiveUdpListenersFromFiles() public static method

public static ParseActiveUdpListenersFromFiles ( string udp4File, string udp6File ) : IPEndPoint[]
udp4File string
udp6File string
return IPEndPoint[]
 public override IPEndPoint[] GetActiveUdpListeners()
 {
     return(StringParsingHelpers.ParseActiveUdpListenersFromFiles(NetworkFiles.Udp4ConnectionsFile, NetworkFiles.Udp6ConnectionsFile));
 }
Exemplo n.º 2
0
 public override IPEndPoint[] GetActiveUdpListeners()
 {
     return(StringParsingHelpers.ParseActiveUdpListenersFromFiles(Socket.OSSupportsIPv4 ? NetworkFiles.Udp4ConnectionsFile : null,
                                                                  Socket.OSSupportsIPv6 ? NetworkFiles.Udp6ConnectionsFile : null));
 }