Socket setup.
Shared library.