Skip to main content
  • 300 Accesses

Summary

You now understand how network protocols typically work, and how to implement them in C using Gaim’s protocol plug-in system. I’ve offered hints and tips about how to monitor data sent by an unknown protocol, and decipher what it all means. One such hint is that, even in binary protocols, screen names, messages, and other textual elements will always be sent in plain text. However, what is plain text? How does a computer, which understands only 1s and 0s, represent letters and words?

In the next chapter, I’ll review the many ways computers can do this. This is a crucial element to working with IM protocols, for if you represent text incorrectly, your friends will not be able to read it. Whereas historical reasons make this less problematic for English speakers, for foreign users this is often problematic. I’ll address localizing your application so that it’s usable by as many people as possible, regardless of where they live. In addition to text encoding, I’ll be discussing translation. I’ll explain how the gettext system is used to provide simple translations for all the text in your application.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Sean Egan

About this chapter

Cite this chapter

(2005). Protocol Plug-Ins. In: Open Source Messaging Application Development. Apress. https://doi.org/10.1007/978-1-4302-0047-5_8

Download citation

Publish with us

Policies and ethics