Skip to content
New issue

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

NsdServiceInfo Class should have IP #39

Closed
casterock opened this issue Jun 27, 2022 · 3 comments
Closed

NsdServiceInfo Class should have IP #39

casterock opened this issue Jun 27, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@casterock
Copy link

NsdServiceInfo Class only shows: hostname, port, name and txt. Should have resolved IP

@Nimrodda
Copy link
Owner

Please see my comment and let me know if it fixes also this issue.

@casterock
Copy link
Author

casterock commented Jun 27, 2022

Not really realice how to show IP, NsdServiceInfo Class didn't have IP attribute

/// Info class for holding discovered service
class NsdServiceInfo {
final String? hostname;
final int? port;
final String? name;
final Map<String, Uint8List>? txt;

NsdServiceInfo(this.hostname, this.port, this.name, this.txt);
}

@Nimrodda Nimrodda added the duplicate This issue or pull request already exists label Jun 27, 2022
@Nimrodda
Copy link
Owner

Yes, this is known behavior currently. hostname can either be IP or hostname. There's a separate ticket for it #22.

@Nimrodda Nimrodda closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants