These are the example programs that appear in the FPC documentation. Units guide, chapter on Sockets unit : Example programs socksvr.pp implements a small server application. sockcli.pp implements a small client application.