This commit is contained in:
Diego Waxemberg
2013-09-21 19:55:08 -04:00
31 changed files with 2214 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package com.limelight.nvstream;
import java.net.InetAddress;
import java.net.UnknownHostException;
public class NvMDNS {
public static String NVSTREAM_MDNS_QUERY = "_nvstream._tcp.local.";
public static final short MDNS_PORT = 5353;
public static final int REPLY_TIMEOUT = 3000;
public static final int REPLY_TRIES = 10;
public static InetAddress MDNS_ADDRESS;
static {
try {
// 224.0.0.251 is the mDNS multicast address
MDNS_ADDRESS = InetAddress.getByName("224.0.0.251");
} catch (UnknownHostException e) {
MDNS_ADDRESS = null;
}
}
// TODO: Implement this shit
}