This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"BZ2": { | |
"name": "UAP", | |
"names": { | |
"abbreviation": "UAP", | |
"fullName": "Access Point", | |
"sku": "UAP" | |
}, | |
"type": "uap", | |
"compliance": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:io'; | |
void main() { | |
var discoveryPort = 10001; | |
var discoveryBroadcast = InternetAddress('255.255.255.255'); | |
var discoveryMulticast = InternetAddress('233.89.188.1'); | |
RawDatagramSocket.bind(InternetAddress.anyIPv4, discoveryPort).then((RawDatagramSocket udpSocket) { | |
udpSocket.broadcastEnabled = true; | |
udpSocket.listen((e) { |