O'Reilly logo

APIs at Work, Second Edition by Ron Hawkins, Doug Pence, Bruce Vining

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A Simple Telnet Server

The last example in this chapter uses the socket APIs to develop a Telnet server supporting Telnet terminals such as those in Windows and DOS. As with the FIG15_26 and FIG15_43 programs, this example is based on the library information program developed in Figure 5.5.

We do not anticipate that anyone is actually going to write a Telnet server application. You probably have Telnet clients that are capable of accessing your interactive RPG applications directly. There are, however, times when you might want to communicate directly with remote ASCII- or Unicode-based applications, and the FIG15_48 program demonstrates how to do this. In this example, the remote application happens to be a Telnet client. In your business environment, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required