So you are trying to establish a network between two computers and you have no idea whether they are setup correctly. To check if the connection is able to send and receive data, windows have a inbuilt service through which we can check the connectivity by sending and receiving some bytes of data from your pc to target computer.
If you have wired them through switch or router, you should always first check the LED on Ethernet port. That LED should be blinking in most of the cases but if it’s not then you might have not connected them properly.
Follow these simple steps to check even if they are connected wirelessly:
1) Get the IP of target machine.
2) Open Command Prompt, by hitting (Windows+R) key and then typing cmd. Windows key is placed besides ALT key or you can go to Start > All Programs > Accessories > Command Prompt.
3) Once the Command prompt is open, type “ping <ip address of target machine>”. For example :
It will start sending some packets to the machine , if the response is received it means your connection is working fine. But if request timed out then there might be some problem.