Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add broadcast ability to udp sockets #432

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Conversation

rutenkolk
Copy link
Contributor

Hello,

Trying out heaps.io, I noticed, that the implementation for sockets was missing the setBroadcast function for udp.

I hope I implemented this correctly as it isn't a big diff.

I tested sending broadcasts with ubuntu 20.04, haxe 4.1.4, heaps 1.8.0
They showed up in wireshark and I could recieve them on another machine in the same network.

@rutenkolk
Copy link
Contributor Author

If I see this correctly, the build failure on windows is unrelated to this PR. Seems like openal cannot be installed on windows.

I don't understand what is going on, but I assume the CI would need to be force-rerun at some point (assuming it's the fault of openal)

@Simn Simn merged commit a053b3a into HaxeFoundation:master Sep 21, 2023
9 checks passed
crazyjul pushed a commit to playdigious/hashlink that referenced this pull request Jan 18, 2024
* add broadcast ability to udp sockets

* rename variable 'fast' to 'broadcast'

* Update socket.c

---------

Co-authored-by: Chris Rutenkolk <[email protected]>
Co-authored-by: Simon Krajewski <[email protected]>
RandomityGuy pushed a commit to RandomityGuy/hashlink that referenced this pull request Jun 1, 2024
* add broadcast ability to udp sockets

* rename variable 'fast' to 'broadcast'

* Update socket.c

---------

Co-authored-by: Chris Rutenkolk <[email protected]>
Co-authored-by: Simon Krajewski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants