Socket Client and Server, logger