Add an extra field ir_address to pgm_interface_req_t and define preprocessor
symbol PGM_HAS_IR_ADDRESS so a client can know it is present. Also add
the address to the information returned by pgm_getaddrinfo(), so that different
addresses on a single network device can be specified.
Also modify interface name parsing to allow for interfaces to have more
than one address.
When binding, if the address family is not AF_UNDEF, the address will be
used for underlying socket binding, rather than using the first address
on the interface indexed by ir_interface.
To match this, define pgm_group_source_req, add gsr_addr and use that in
pgm_addrinfo_t instead of group_source_req.
… pgm_bind3().
Add an extra field ir_address to pgm_interface_req_t and define preprocessor symbol PGM_HAS_IR_ADDRESS so a client can know it is present. Also add the address to the information returned by pgm_getaddrinfo(), so that different addresses on a single network device can be specified.
Also modify interface name parsing to allow for interfaces to have more than one address.
When binding, if the address family is not AF_UNDEF, the address will be used for underlying socket binding, rather than using the first address on the interface indexed by ir_interface.
To match this, define pgm_group_source_req, add gsr_addr and use that in pgm_addrinfo_t instead of group_source_req.
Fixes #37.