Summary
The UDP protocol is ideal for lightweight message-oriented servers that do not require a high degree of reliability. The Internet chat system described in this chapter is a good example of such an application.
Although the chat system is fully functional, it lacks many features. For one thing, the system doesn't provide a way to notify you when a specific user logs in to the system (called a "hot list" in some systems). This feature would be straightforward to add. Another deficiency of the system is that it doesn't provide anything in the way of long-term user registration and authentication. Anyone can log in using any nickname, and as soon as the system is killed and restarted, all information on registered users is lost. The only ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access