All systems use an IP of the host on the desired physical interface:
const socket = dgram.createSocket('udp4');socket.bind(1234, () => {socket.setMulticastInterface('10.0.0.2');});
All systems use an IP of the host on the desired physical interface:
const socket = dgram.createSocket('udp4');socket.bind(1234, () => {socket.setMulticastInterface('10.0.0.2');});
若有收获,就点个赞吧
0 人点赞
让时间为你证明