August 2011
Intermediate to advanced
552 pages
23h 48m
English
Change the chatter programs to use datagrams. The messages are small enough to fit into a single datagram. Given the quality of discussion in most chat rooms, a lost packet here or there is probably not too much of an issue. Since the messages fit into packet boundaries and since recvfrom() will not coalesce packets like socket streams, this should simplify a lot of the code.
Read now
Unlock full access