How to bind a TCP socket intended for interception to several IPv4 addresses (to all addresses available on the machine) using WinSock2 ?
1 answer
There are special constants for this: INADDR_ANY and in6addr_any for IPv6. More details can be read: MSDN bind function
|