UDP Sockets available on Android?

Are UDP Sockets available on Android yet? If no, can anyone provide an estimated time table for their availability?

Thanks!

1 Like

All I can tell you is TCP sockets were not available in the beginning of Android and I made a feature request for them (I much needed them). In less than one year, IIRC, they were implemented.
Possibly a way to go.

1 Like

The docs mention:

Compatibility

Desktop, console, web and iOS project types on all supported operating systems.

You can create an issue and keep track of the release label they add to it.

Note: I don’t do Android, don’t know if documentation is right or wrong here.

UDPSocket is not yet available for Android. It is on our list of things that need to be added to Android, but I can’t comment on scheduling.

It took 7 years before UDPSocket appeared on iOS, but I think we can do better than that for Android.

I did not notice a tracker Issue for it though, so you might want to go ahead and add one so you’ll be apprised of progress on it.

2 Likes

Here is one: https://tracker.xojo.com/xojoinc/xojo/-/issues/74644

That Issue has several different items on it and is not really actionable. A separate UDPSocket Issue would be more useful.

2 Likes

Android: Implement UDPSocket Support

https://tracker.xojo.com/xojoinc/xojo/-/issues/77486

2 Likes

Nice! You beat me to it!

Well, TCP connections was the main thing keeping me from developing for Android. That gets me 90% of the way there. UDP will be nice to have but at least it is in the plans!

1 Like