Yes, you can use the following method to do so:
Open Command Prompt (Windows) and type cmd.exe. Hit Enter. This will send three pings to each computer. If you want to know which computer responded first, then check the file C:\\pinglogfile.txt.