Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCP/IP and Telnet from Clipper

Status
Not open for further replies.

Bozz

Programmer
Jun 30, 2002
287
GB
One of my customers is going from serial RS232 dumb terminals/terminal emulators on PC's to a TCP/IP based Telnet infrastructure. My Clipper 5.01a/Nantucket tools II based software communicates with their system via a
serial port that is due not to exist soon. Is anybody aware of a way of "talking Telnet" from Clipper?

Ian Boys
DTE Systems Ltd
 
What os will the computer mainly be running?

Richard L. Hankins Jr.
Senior Programmer
Auction Services, Inc.
 
Windows 2000 pro SR2 Ian Boys
DTE Systems Ltd
 
Something I will do on occasion in this case is write or contract out a small windows applet in VB, JAVA, C++, C# or another language and use it to pass the information thru TCP/IP. So basically I just call the formless windows application to handle the data transmissions. I will look thru our libraries up at work and see if I see anythign that may help you out other than that.

Richard L. Hankins Jr.
Senior Programmer
Auction Services, Inc.
 
Thanks Richard,

I suppose that it might be possible to shell out and batch run Telnet. I've done a similar thing with Blat for sending e-mails from Clipper. In a batch file one progran prepares another batch file, calls the batch file to do the sending and then another program analyses the log file. The only worry is that what I need to do is very &quot;real time&quot;. What I actually do is send a patient hospital number to a host system and this returns the demographics for that patient, usuall taking <2secs. Ian Boys
DTE Systems Ltd
 
Well, Ian,

You could get some of the new Clipper compilers, like XBase++ or Harbour to run your app (I guess it has outgrown 'simple') in a Windows (32 bit) or Unix environment and they both have at least some support for TCP/IP comm's, 'cause they interface to every windows DLL or Unix systemcall you could ever need. At the same time giving you app a big rewrite.....:-( and speed-kick ;-)
HTH, TonHu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top