In this recipe, we will learn how to write data into a pipe from its writing end and then how to read that data from its reading end. This can happen in two ways:
- One process, both writing and reading from the pipe
- One process writing and another process reading from the pipe
Before we begin with the recipes, let's quickly review the functions, structures, and terms that are used in successful interprocess communication.