title: Connect to an IP address using connect() function - socket programming
body: <p>I'm currently working on a client/server program. When I use a client and a server code running on the same machine, I can easily connect the client to the server using the <code>connect()</code> function (through "localhost").</p>
  
  <p>However, the next step I would like to accomplish is by connecting to an external device. Except, this time, I would like to connect directly to its IP address. Does anyone know how I can integrate the IP address of a device in the <code>connect()</code> function? </p>