My problem: A program was using 127.0.0.2 (an alias for 127.0.0.1) to make a local connection on a specific port. However, one Windows 2003 server box was configured so that this port was being listened to on a specific network adapter (and hence a specific IP address). Hence, my local connection failed even though the [...]
Archive for November, 2007
Getting listening ports and addresses programmatically
Posted in C++, Sockets, Windows API on November 10, 2007 | Leave a Comment »