The figure shows communication using Instant Messaging as an example of a peer-to-peer application. This demonstrates a program acting as both client and server.