You're sending a bare SimpleMessage, instead of one wrapped in a SimplePacket (see packets.go).
It works if you instead do
nc -u 127.0.0.1 5000
{"simple":{"originPeerName":"sacha","relayPeerAddr":"127.0.0.1:44825","contents":"salut"}}
You're sending a bare SimpleMessage, instead of one wrapped in a SimplePacket (see packets.go).
It works if you instead do
nc -u 127.0.0.1 5000
{"simple":{"originPeerName":"sacha","relayPeerAddr":"127.0.0.1:44825","contents":"salut"}}
Follow the pulses of EPFL on social networks
© 2023 EPFL, all rights reserved