fix(TcpAddress): Replace 0.0.0.0 with global IP
Closed this issue · 1 comments
nokome commented
Currently, TcpServer
and derived classes can listen on 127.0.0.1
or the 0.0.0.0
meta-address. The latter isn't useful in manifest.addresses
e.g. "addresses":{"ws":{"type":"ws","scheme":"ws","host":"0.0.0.0","port":9000}}
Sparkla has a globalIP
function which we could bring over here, to replace 0.0.0.0
in addresses derived from TcpAddress
.