zeromq / pyre

Python port of Zyre
GNU Lesser General Public License v3.0
120 stars 52 forks source link

Invalid endpoint #124

Open tangb opened 6 years ago

tangb commented 6 years ago

Hi

When application implementing pyre is started while there is no network connection, the beacon values are set to loopback address 127.0.0.1 with no mac address. When ethernet cable is plugged, node connects properly to pyre network (I saw ENTER action on other pyre nodes) but the address of freshly connected node returned by peer_address() function is still 127.0.0.1. It appears hostname is sent only once at node startup but not refreshed later. Can you tell me what is the proper way to implement hostname update (and consequently endpoint value) ?

Thank you very much :smile: