Skip to content

Instantly share code, notes, and snippets.

@tamird
Created May 1, 2019 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamird/8ed6391bce8ea079b5b83651e7e03646 to your computer and use it in GitHub Desktop.
Save tamird/8ed6391bce8ea079b5b83651e7e03646 to your computer and use it in GitHub Desktop.
void main() {
var addresses = [
"fe80::8eae:4cff:fee9:8434%br0",
"[fe80::8eae:4cff:fee9:8434%br0]",
"[fe80::8eae:4cff:fee9:8434%br0]:22",
];
for (var address in addresses) {
print(address);
try {
print(Uri.http(address, '/'));
} catch (e) {
print(e);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment