You may want to look at
http://www.afpweb.com/Bob Lee
>I have programmed a complex VFP application that talks to a serially connected device using CrystalComm's library. I now need to add the ability to talk to a telnet connected device. What library is good for programming telnet sessions (connect to IP address and port, send commands and receive responses [both ascii character strings with terminating control-characters], and then disconnect)?
>
>Thanks.
>
jdm@vi-i.com
In the beginning, there was a command prompt, and all was well.