opensistemas-hub / osbrain

osBrain - A general-purpose multi-agent system module written in Python
https://osbrain.readthedocs.io/en/stable/
Apache License 2.0
175 stars 43 forks source link

Binding to IPv6 address doesn't work #367

Open GermanPumpkin opened 1 year ago

GermanPumpkin commented 1 year ago

When a IPv6 is used as an address for the nameserver/agent..., the binding fails, because the address gets malformatted in the _common_address_to_host_port(addr) method of address.py. Or is there a special format for the IPv6 required? I formatted it like this (with port): 'fd46:f8f6:ef3f:1:4ee3:7df0:d85e:763e:12345'

For context: I want to use osBrain in a Thread-network, which is based on IPv6.