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

Problem: no way to specify source interface for UDP multicast sender … #3094

Merged
merged 1 commit into from
May 13, 2018

Conversation

simias
Copy link
Contributor

@simias simias commented May 13, 2018

…sockets

Solution: if a binding interface is provided in the sender URL we pass
it to IP[V6]_MULTICAST_IF setsockopt

@bluca
Copy link
Member

bluca commented May 13, 2018

Windows build seems unhappy:

C:\projects\libzmq\src\udp_engine.cpp(164): error C2664: 'int setsockopt(SOCKET,int,int,const char *,int)' : cannot convert argument 4 from 'in_addr *' to 'const char *' [C:\projects\build_libzmq\libzmq.vcxproj]
          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

@simias
Copy link
Contributor Author

simias commented May 13, 2018

I always forget about that

…sockets

Solution: if a binding interface is provided in the sender URL we pass
it to IP[V6]_MULTICAST_IF setsockopt
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