|
Are these computers connected to anything else besides each other? If they aren't, use the following instructions. If one or both are connected to another network, then we have a lot more work to do.
In order for two computers to reach one another in such a setup, you need to ensure first that they are on the same logical network. For the first PC, give it an IP address of 192.168.1.1 and a subnet mask of 255.255.255.0, default gateway and DNS server are irrelevant in this case. For the other PC, give it an IP address of 192.168.1.2 and a subnet mask of 255.255.255.0, and again, default gateway and DNS server do not matter. To ensure everything is working correctly, open a command prompt on the first pc and type "ping 192.168.1.2" and you should see an output as such:
Pinging 192.168.1.2 with 32 bytes of data: Reply from 192.168.1.2: bytes=32 time<1ms TTL=128 Reply from 192.168.1.2: bytes=32 time<1ms TTL=128 Reply from 192.168.1.2: bytes=32 time<1ms TTL=128 Reply from 192.168.1.2: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
From there we can move on to the application sending the commands and the application receiving the commands.
|