how to understand the following code:
let socket = UdpSocket::bind((any, 0)).expect("Could not bind socket");
what do the port 0 and ipaddr any represent in the above sentence?
how to understand the following code:
let socket = UdpSocket::bind((any, 0)).expect("Could not bind socket");
what do the port 0 and ipaddr any represent in the above sentence?
It means "pick any unused port".