SolarCapture C Bindings User Guide  SF-115721-CD
Issue 3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
misc.h File Reference

Miscellaneous utility functions. More...

Functions

int sc_join_mcast_group (struct sc_session *scs, const char *interface, const char *group)
 Join a multicast group. More...
 

Detailed Description

Miscellaneous utility functions.

Function Documentation

int sc_join_mcast_group ( struct sc_session *  scs,
const char *  interface,
const char *  group 
)

Join a multicast group.

Parameters
scsA session
interfaceThe network interface to join on
groupThe multicast group to join
Returns
0 on success, or a negative error code.

This function joins multicast group group on interface interface. This is needed when you need to use the IGMP protocol to arrange that multicast packets are delivered to the adapter.