The startDaemon listen on a local socket (port defined by properties). This socket is used to provide commands to the daemon like : - stop - reload Those commands are added to the Main in order to interact with running daemon.