[ LiB ] |
This was a large chapter, and you may find it lacking because it didn't include a code demo. For that, I apologize, but the Socket Library is unusable until you have a working protocol and its associated handler class(es) written as well. Don't despair. The next chapter is going to make up for the lack of a demonstration in this chapter by containing a large demo.
In this chapter, you learned how to abstract the base Sockets API into an easy-to-use collection of classes, as well as how to expand the library into a nice collection of classes used to manage sockets and connections.
I hope you can see the usefulness of having the modular protocol class I've shown you; it's really amazing to see how flexible this sort of design can be. And without further ado, here's the chapter on Telnet!
[ LiB ] |