Re: [SOLVED] Re: UDP multicast packets not seen on listening interface in BETA5

From: Robert Watson (rwatson_at_FreeBSD.org)
Date: 09/30/05

  • Next message: Robert Watson: "Re: identd with FreeBSD 6.0?"
    Date: Fri, 30 Sep 2005 13:38:03 +0100 (BST)
    To: josh.carroll@psualum.com
    
    

    On Thu, 29 Sep 2005, Josh Carroll wrote:

    > Ideally, I'd like to update the code to search the local interfaces with
    > SIOCGIFCONF and use that IP (if available), but testing it with my IP
    > hard-coded doesn't seem to work.
    >
    > But debugging my code is outside the scope of this mailing list. :)

    Glad the problem is worked out -- for reference, you may also be
    interested in the getifaddrs(3) API, which allows you to query the set of
    interface addresses available, and may be useful in teaching your
    application about how to identify and use available interfaces.

    Robert N M Watson
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Robert Watson: "Re: identd with FreeBSD 6.0?"

    Relevant Pages

    • Re: inconsistency between SIOCGIFCONF and SIOCGIFNAME
      ... > SIOCGIFCONF, would not return any. ... BSD ioctl interfaces discussed here are defined by BSD and ... What I can recommend is that you obtain the interface information ... The exact check we make during ipv4 gifconf processing is that we do ...
      (Linux-Kernel)
    • Re: IP Informationen von tap interface
      ... It contains a pointer to an array of ifreq structures ... [netdevice/ SIOCGIFCONF] ... Du uebergibst allerdings einen Nullzeiger. ... Interface ausprobiert, was perfekt funktionierte. ...
      (de.comp.os.unix.programming)
    • Re: how to get local ip address (not using ifconfig) ???
      ... Sagaert Johan wrote: ... Use ioctl(sock, SIOCGIFCONF, ...) to find the names of the ... You will probably want to filter out e.g. the loopback interface, ... Klipstein's 4th Law of Prototyping and Production: ...
      (comp.os.linux.development.apps)
    • Re: Find all network interfaces and their MAC addresses
      ... corresponding MAC addresses of each interface? ... (In linux we have ioctl with SIOCGIFCONF and ... Assuming that you are on Solaris: ...
      (comp.unix.solaris)