We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use DIscovery with this: DiscoveryConfiguration *configurations = [[DiscoveryConfiguration alloc] initWithServiceType:@"_ptp.tcp." serviceNamePrefix:@""]; Discovery *discover = [[Discovery alloc] initWith:@[configurations] delegate:self serviceResolveTimeout:10]; [discover startDiscovery]; but, it only call netServiceBrowserWillSearch Method, don't call other delagete mathods. public func netServiceBrowserWillSearch( browser: NetServiceBrowser) { print("11111111111will"); }
public func netServiceDidStop(_ sender: NetService) { print("11111111111WillSearch"); } public func netServiceBrowser(_ browser: NetServiceBrowser, didFind service: NetService, moreComing: Bool) { print("11111111111"); guard let item = item(serviceBrowser: browser) else { return } if item.isValidForService(netService: service) { item.netServices.insert(service) service.delegate = self service.resolve(withTimeout: serviceResolveTimeout) } } public func netServiceBrowser(_ browser: NetServiceBrowser, didNotSearch errorDict: [String: NSNumber]) { print("11111111111"); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I use DIscovery with this:
DiscoveryConfiguration *configurations = [[DiscoveryConfiguration alloc] initWithServiceType:@"_ptp.tcp." serviceNamePrefix:@""];
Discovery *discover = [[Discovery alloc] initWith:@[configurations] delegate:self serviceResolveTimeout:10];
[discover startDiscovery];
but, it only call netServiceBrowserWillSearch Method, don't call other delagete mathods.
public func netServiceBrowserWillSearch( browser: NetServiceBrowser) {
print("11111111111will");
}
The text was updated successfully, but these errors were encountered: