It is unfortunate that the cl-cookbook still refers to PORT from CLOCC. I recommend against PORT in particular and CLOCC in general.
The good news is newer, better socket libraries exist, and you will not have much trouble using those instead. Here are your options:
usocket is a portability library that abstracts over the socket features in various Lisp implementations. It is the spiritual successor to trivial-sockets, and many Common Lisp libraries are depending on usocket today.
I recommend usocket for new users.
The other contender is iolib, which re-implements sockets using FFI instead of building on the implementation's facilities. It also sports other ambitious innovations, like a replacement for Common Lisp pathnames, I/O multiplexing, and its own stream abstraction.
Programmers willing to read source code and unit tests will find iolib enjoyable, but it is still in a state of flux and lacks documentation.
I recommend iolib for avid hackers.
Many installation methods are possible. As an Ubuntu user, you can just use aptitude:
$ aptitude install cl-usocket
$ clisp
[1]> (asdf:operate 'asdf:load-op :usocket)
Beware that the Common Lisp packages in Debian and Ubuntu are often outdated and rather different from upstream. If you are looking for help online, you will get more helpful responses if you switch to upstream version of those packages.
Personally I use Debian, but run clbuild instead of the Debian packages for Lisp. Note that clbuild needs upstream CLISP, not the CLISP that Ubuntu ships.