You can compile C code with the "unix networking programming book" library using the gcc compiler. To compile a program with this library, you need to specify the "-lunp" flag when you run gcc. For example, if you have a C program in a file called "myprogram.c", you can compile it with the following command:
gcc myprogram.c -lunp
This will create an executable file called "a.out" that you can run.