The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: xPLMediaNet DHCP


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Re: Linux Updates


  • Subject: RE: Re: Linux Updates
  • From: Tony Tofts
  • Date: Thu, 18 Dec 2003 08:45:00 +0000

> On Debian Woody and Slackware 9.1, it still doesn't
> actually seem to listen unless you compile with
> "inSocket.sin_addr.s_addr = htonl(INADDR_ANY);" instead of
> "INADDR_BROADCAST". I'm not utterly convinced that
> INADDR_BROADCAST works with UDP (the documentation for the
> 2.4 kernel seems to suggest that it doesn't).
>
> What distro, kernel, gcc etc. are you using to build xplhub?
> Perhaps it's something that's been changed in newer libc?

Hi Gordon,

I've found this a problem on the different platforms I've been compiling on
(linux (redhat9), cygwin, tivo and rio etc)

Some need inaddr_broadcast, others need inaddr_any.

Don't know the kernel/gcc versions off the top of my head, but will check
later.

Will also retry inaddr_any, in case I'm going mad...

Regards
Tony






xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.