I didn't find a way to replace those addresses, but if u want to get an address easily, you have the sender(s) and the server which receive the message, but the sender need an address, so at the beginning of the infinite loop I put a
component.modem.open(urport)
_,_,address = event.pull("modem_message")
function sendMsg(data,data2,data3)
component.modem.send(address,port,data1,data2,data3)
end
And in the server which receive, you put in the infinite loop :
component.modem.open(port)
compoment.modem.broadcast(port)
Of course replace port by ur port ^^
It's not the best wa