}
}
private String resolveWithMulticastDNS(ScanningSubject subject) {
try {
MDNSResolver resolver = new MDNSResolver(subject.getAdaptedPortTimeout());
String name = resolver.resolve(subject.getAddress());
resolver.close();
return name;
}
catch (SocketTimeoutException e) {
return null;
}