[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: xPL Lib - updates
--- In ukha_xpl@xxxxxxx, "John B" <home-automation@j...>
wrote:
> > When I did my C++ code, it wouldn't work unless I used
INADDR_ANY,
> > rather than the local IP.
>
> OK, maybe the only solution here is to bind to all addresses, but
filter the packets based on their source address?
> That way we can ignore anything not originating from the local hub.
>
> Any thoughts?
>
> Regards,
>
> John
So recvfrom instead of recv. I guess that would work - allow the
loopback and local IP addresses by default, and let the user modify
the list.
Now I have to go back and read the thread again because I've
forgotten what the original problem was! ;-)
Mal
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|