[ros-users] Current best practice for multiple interfaces

Michael Gratton mikeg at cse.unsw.edu.au
Wed Jan 16 01:33:30 UTC 2013

On 16/01/13 06:57, Bil Morris wrote:
> I am not sure why the XML RPC server does not support binding to
> INADDR_ANY instead of a specific ip address.

Yeah, this would be great from a systems perspective! Why doesn't it do
that already?

> If the server could be modified to connect to all interfaces and rebind
> the sockets when the xmlrpc server receives
> a SIGHUP, then I think you could take something like our upstart scripts
> [1] and modify them to start ROS on boot and
> and send SIGHUP to ROS whenever the WiFi interface bounces.

IIRC if you listen on any socket, you don't need to re-bind as
interfaces come and go, so I don't think even sending a signal would
even be necessary.

For people that want a robot to "just work" as soon as you switch it on,
this would make life much easier.


Michael Gratton <http://www.cse.unsw.edu.au/~mikeg/>
UNSW School of Computer Science and Engineering.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20130116/f3fe28ad/attachment-0002.asc>

More information about the ros-users mailing list