title: which IP to use to connect to two different computers using telnet C
body: <p>I have two laptops, both running Ubuntu.</p>
  
  <p>I want to write a chat server in C, which can talk to my other laptop and receive messages back from it.</p>
  
  <p>I know that when the client and server programs are both in a single machine, I can use local host (127.0.0.1) and make them talk using telnet but what about connecting two different computers (which are on the same network)? Which IP and port should I use for them? </p>