How to set up a Multicast UDP connection? I get the following error: javax.microedition.io.ConnectionNotFoundException

I need build a Multicas UDP connection, with the following connection string: multicast://224.2.3.4:8888,.
udpMulticastConnection = (UDPMulticastConnection) Connector.open (" " "multicast://224.2.3.4:8888");

but I'm javax.microedition.io.ConnectionNotFoundException.

I read in the doc of the api, I have made a UDPDatagramConnection. I wore the UDPDatagramConnection but the udpMulticast still not do.

Can someone help me? Please

Thank you.

Some useful links:

https://docs.Oracle.com/JavaME/8.0/API/GCF/API/javax/microedition/IO/package-summary.html

UDPDatagramConnection (Java (TM) ME generic connection Framework, Version 8 (final JSR360))

BNF multicast protocol

Java (TM) ME generic connection Framework, Version 8 (final version of JSR360)

http://docs.Oracle.com/JavaME/8.0/API/GCF/API/javax/microedition/IO/ConnectionNotFoundException.html

https://docs.Oracle.com/JavaME/8.0/API/GCF/API/javax/microedition/IO/package-summary.html

Hello!

Unfortunately, multicast is not supported by Java ME on RPi. Looks like it still takes much effort to patch raspbian OS itself to support so that we did not continue to support me. Sorry

Kind regards

Andrey

Tags: Java

Similar Questions

Maybe you are looking for