Renamed socketP and socketC to socketProducer and socketConsumer. Added socketServer