Chapter 6. Telnet Protocol and a Simple Chat Server

[ LiB ]

Chapter 6. Telnet Protocol and a Simple Chat Server

In the previous chapter, I showed you the base SocketLib library and the protocol policy system I've set up. Unfortunately, I couldn't actually show you any demonstrations , since the library needs a complete protocol policy to work and I haven't shown you any protocols yet!

So, in this chapter, I'm going to introduce you to the Telnet protocol, which is bar-none the most common protocol used for text MUDs. The great thing about the protocol is that it is so simple, and almost every operating system has built-in Telnet clients. Because of this, there's no need to dig too far into learning how to create clients . This is good, because it gives me more room to go over the real meat of MUDsthe servers.

In this chapter, you will learn to:

  • Understand the basics of the Telnet protocol

  • Work with the standard VT100 control codes

  • Create a Telnet protocol policy class

  • Create Telnet handlers

  • Create a simple chat server using Telnet

  • Use demos that illustrate the concepts of the chapter

[ LiB ]


MUD Game Programming
MUD Game Programming (Premier Press Game Development)
ISBN: 1592000908
EAN: 2147483647
Year: 2003
Pages: 147
Authors: Ron Penton

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net