udp icon indicating copy to clipboard operation
udp copied to clipboard

Lightweight UDP library for Dart.

Results 11 udp issues
Sort by recently updated
recently updated
newest added

Im design an app that send a UDP broadcast. my code is simple send a fixed packet when i click in button. this is the function that is called. nut...

``` import 'dart:io'; import 'package:udp/udp.dart'; void main() async { var sender = await UDP.bind(Endpoint.any(port: Port(65000))); // send a simple string to a broadcast endpoint on port 65001. var dataLength =...

Sending to `Endpoint.broadcast()` is equivalent to IPV4 255.255.255.255, but trying to send to a subnet broadcast address (e.g. 192.168.1.255 for a subnet of 255.255.255.0) using `Endpoint.unicast()` throws permission denied/file descriptor...

I am able to receive udp broadcasts packets on my phone from a flutter app using UDP using the Android app NetPal. (I highly recommend this app for debugging issues...

I am getting this error when calling below code ``` var ipAddress = InternetAddress("146.59.158.195"); var port = const Port(6001); var multicastEndpoint = Endpoint.unicast(ipAddress, port: port); var receiver = await UDP.bind(multicastEndpoint);...

ios: 16 iphone: 12 mini, 14, 16 Fatal Exception: FlutterError 0 ??? 0x0 _RawDatagramSocket.broadcastEnabled= (dart:io) 1 ??? 0x0 UDP.send. + 122 (udp_base.dart:122)

is dart udp support multicast video stream?

Report: type:HandleUncaughtErrorHandler error:OS Error: Bad file descriptor, errno = 9 stackTrace:#0 _NativeSocket.nativeGetOption (dart:io-patch/socket_patch.dart:1693:53) #1 _NativeSocket.getOption (dart:io-patch/socket_patch.dart:1571:18) #2 _RawDatagramSocket.broadcastEnabled (dart:io-patch/socket_patch.dart:2493:40) #3 UDP.send. (package:udp/src/udp_base.dart:113:32) #4 UDP.send. (package:udp/src/udp_base.dart:112:29) #5 new Future.microtask. (dart:async/future.dart:276:37) #6...

Hi, I'm trying to send broadcast from Android phone to the network but it fails. Here is the code (the same code works on iOS devices and on Mac). Android...

bind multicast addr failed for windows version: udp: ^5.0.1 logs ![image](https://user-images.githubusercontent.com/58802847/159478649-674d1f66-fac4-4c8d-89e2-cb9999270021.png) use ![image](https://user-images.githubusercontent.com/58802847/159478852-d5b9a0a2-691c-4c97-8bb7-5a05fde601a4.png) right code: windows os ![image](https://user-images.githubusercontent.com/58802847/159481574-b650b208-aee9-4fd0-8b3f-4ac59a405f6e.png)