If my server has multiple IP addresses assigned to it, and I would like to listen to some (or all) of them, how do I go about doing that?
Do I need to create a new socke
Technically, your server never has any IP addresses assigned to it.
Instead, individual network interfaces may be assigned IP addresses. Usually, each NIC gets one IP address, but that's just the most common case.
If you want to control which interfaces are listening for incoming connections on your chosen port, you'll need to create a separate socket for each one.