Practical Unix Programming:
A Guide to Concurrency, Communication, and Multithreading

by Kay. A. Robbins and Steven Robbins

Chapter 13: Project: Internet Radio

Broadcast, telephone, and network technologies are converging rapidly. Cable companies want to offer telephone service and connections to the Internet. Telephone companies want to enter the entertainment business with video-on-demand and high-speed data services. Software for video-conferencing and telephone conferencing on the Internet is widely available. The final outcome will probably be determined more by politics and regulatory decisions than by technical merit. Whatever the outcome, more computers will be handling voice and audio streams in addition to data. This chapter explores the interaction of threads and network communication through a producer-consumer application called a multiplex buffer. The project uses the buffer to synchronize a radio broadcast over a network making delays in network transmission and synchronization audible.

Next chapter

Back to chapter summaries