Skip to content

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
@sigiesec sigiesec merged commit cdb54d2 into zeromq:master May 13, 2018
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