Skip to content
This repository has been archived by the owner on Mar 19, 2018. It is now read-only.

Add support to reuse IP/port for UDP server #105

Closed
kris-lab opened this issue Jul 18, 2016 · 1 comment
Closed

Add support to reuse IP/port for UDP server #105

kris-lab opened this issue Jul 18, 2016 · 1 comment
Assignees

Comments

@kris-lab
Copy link
Contributor

kris-lab commented Jul 18, 2016

Part of #104

Will allow to run multiple janus instances with replicated mountpoint.


see http://stackoverflow.com/a/14388707


Notes to myself http://hacked10bits.blogspot.co.uk/2014/12/udp-binding-and-port-reuse-in-linux.html

Regarding the context for this problem, one might be led to ask why I needed a "real" network interface to run multiple SITL instances on a single machine. It turns out that the loopback interface (the one typically with address 127.0.0.1, used for interprocess communications on the local machine) does not support broadcast. There are apparently very good technical reasons for this, but I did not delve deeply into those. It is, however, possible to create a virtual Ethernet interface and even a virtual bridge, and those do support broadcasts.

@njam
Copy link
Member

njam commented Oct 17, 2016

Closing janus-cluster tickets

@njam njam closed this as completed Oct 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants