Iphlpapi!AddIpAddress() adds the IP address but other machines can’t locate this machine (Windows Server 2008)

On Windows Server 2003, when an IP Address is added to the machine’s adapter, a gratuitous ARP packet is broadcast to the network. This indicates to other machines that there is a change in the IP Address of amachine with “this” MAC address, so other machines can update their ARP table to identify the machine…

1

Connect() fails with error 10061 (WSAECONNREFUSED) / datagram sent via sendto() lost / loopback address

 A server application (TCP) using socket functions is waiting on NIC address to receive connection from the client. sockaddr_in service; service.sin_family = AF_INET; service.sin_addr.s_addr = inet_addr(“10.171.xx.xx”); service.sin_port = htons(27015); Now a client application on same machine uses connect() to connect to the server application get error 10061 (WSAECONNREFUSED) when the IP Address used is loopback…

0