i am trying code given in Unix Network Programming by Richard Stevens. but i am not able to get the code to compile.
here is the source code. http://www.cs.cmu.edu/a
As explained in https://ubuntu.pkgs.org/16.04/ubuntu-universe-amd64/freebsd-glue_0.2.20_amd64.deb.html just install freebsd-glue deb package:
sudo apt-get install freebsd-glue