EuNET Multicast parameter

new topic     » topic index » view thread      » older message » newer message

This is the syntax for a C IP_ADD_MEMBERSHIP

imreq.imr_multiaddr.s_addr = inet_addr("224.0.0.1"); imreq.imr_interface.s_addr = INADDR_ANY; use DEFAULT interface

JOIN multicast group on default interface status = setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (const void *)&imreq, sizeof(struct ip_mreq));

What is the syntax for the EuNet IP_ADD_MEMBERSHIP

eunet_set_socket_options(atom socket, integer level, integer optname, object val)

eunet_set_socket_options(socket, IPROTO_IP, IP_ADD_MEMBERSHIP, object val)

What are the perameters for <object val> ??? Thanks,

Elias

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu