I am listening from GSM . I want to send the NMEA data received from GPS by using GSM shield to the TCP server.
If you are listening to the GSM, and it receives a request for GPS data, you will have no data from the GPS to give it.
You REALLY need an Arduino with multiple hardware serial ports. One for the GPS, one for the GSM, and one for debugging. That means a Mega or a Due.