The problem lies in the firewall – either in ESET and/or the default firewall (it's unclear which firewall your friend is using).
Allow incoming and outgoing connections for the Heroes executable file, as well as for the dplaysvr.exe file (look for it in the WINDOWS folder).
Also, check the DPWSOCKX.DLL file in the root folder of the game; sometimes, problems arise from its version.