openframeworks / openframeworks/openFrameworks
OFXUdpManager - No way to select network interface?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
I have a customer with two network cards in his computer.
Our software both sends and receives on a multicast address, and in both cases, I believe it is choosing the "wrong" interface.
When sending to Multicast, no data is being received on a remote computer. If the computers IP is specified, I get an EAFNOSUPPORT error.
Looking through the docs and the code, I can't find a way to specify which network interface to use for sending and receiving, both in unicast or multicast applications. Is this possible? If not, this would seem to be a critical feature!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting OFXUdpManager and its documentation for how unicast and multicast sockets choose interfaces. Reproduce the reported behavior with multiple network cards and check both sending and receiving paths. Done means applications can select the network interface for unicast and multicast operation, with the relevant behavior documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100