title: Using telnet in a C Program
body: <p>I am working on a robot automation project and I have run into a road block. To control the robot, one needs to connect with it wirelessly via telnet and send commands through the tcp/ip protocol. (ex. The 'Mabc' command moves it forward based on the left wheel speed (a), the right wheel speed (b) and time (c)). What I am trying to do is do some calculations in a C program and then send a message to the robot based on the value of the calculation.</p>
  
  <p>How can send commands via tcp/ip protocol in a C program?</p>
  
  <p>Thanks!</p>
  
  <p>Erik</p>