Code to connect to CMS

This is the code snippet to connect to the Central Monitoring Station ( CMS) via Ethernet. This is for Debugging purpose only. Please make the required changes according to the Status and the reference number.