Skip to content

Add network interface selection for multicast send/receive.#16

Open
tychedelia wants to merge 2 commits into
madmappersoftware:mainfrom
tychedelia:local-address-interface
Open

Add network interface selection for multicast send/receive.#16
tychedelia wants to merge 2 commits into
madmappersoftware:mainfrom
tychedelia:local-address-interface

Conversation

@tychedelia

Copy link
Copy Markdown

We were testing PONK connectivity over WLAN between two computers from Modulaser into the default TouchDesigner receiver included in the repo and weren't able to get things working until I hard-coded the UDP socket to bind to my wifi interface. This is because on windows, wifi almost never has the correct metrics to be selected first when using INADDR_ANY, which means our multicast messages don't get delivered.

These changes switch to allowing both the sender and receiver to select a specific interface, falling back to default INADDR_ANY behavior. This mirrors other Touch UDP operators (e.g. Osc In/Out).

I've tested this locally via multiple interfaces but haven't validated computer to computer for sure but things seem to work as expected.

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.

2 participants