I have a master controller that collects all alarms & sensors data.The module has an Ethernet port for local connection I wanna get data from that port through Arduino with Ethernet shield so can some guide me through the code to read the controller's ethernet port??????
First of all, you cannot "read" an ethernet port. You can send a request and listen for the response.
Second, you should provide more detail about your current setup, and what exactly you want it to do.
Couka, Thank You for your valuable reply ,i want to get the data polled on the ethernet port of master controller that collects all the alarms and sensors data and get it available on the only output ethernet port...so I think how to read/get the data from that ethernet port through Arduino.and then transmit that data through SMS via a GSM module connected to Arduino...
I still have no information about what your "controller" looks like.
Describe your setup as detailed as possible, draw something, take a good photo etc.