Currently, if a socket binds 0.0.0.0, the network simulator will replace it with the node IP (e.g. 192.168.1.1), or panic if the node IP is uninitialized.
The correct behavior is to keep the local address as 0.0.0.0 and store the remote address 192.168.1.1 for other nodes.
Currently, if a socket binds
0.0.0.0
, the network simulator will replace it with the node IP (e.g.192.168.1.1
), or panic if the node IP is uninitialized. The correct behavior is to keep the local address as0.0.0.0
and store the remote address192.168.1.1
for other nodes.