Dear Scott,
Thanks for the response!!!! But the solution will not solve my purpose as the connection is already established with the server(Connection establishment doesnt take lot of time !!!).. Processing time of server takes lot of time...
I have also used this option also along with Curl
-m, --max-time <seconds>
Maximum time in seconds that you allow the whole operation to take. This is useful for preventing your batch jobs from hanging for hours due to slow networks or links going down. See also the --connect-timeout option.
If this option is used several times, the last one will be used.
But due to some reason. It doesn't work for me