LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connect ( ) hangs for 3 minutes..how to reduce it (http://www.linuxquestions.org/questions/linux-networking-3/connect-hangs-for-3-minutes-how-to-reduce-it-466192/)

santhosh.bachu 07-21-2006 05:48 AM

Connect ( ) hangs for 3 minutes..how to reduce it
 
HI friends,
In my sample program on Linux OS. I am trying to connect one server,if i give windows PC's IP address,where Server program is not running. My program hangs..upto..3 minutes..and after 3 minutes once again try to connect...to that..Windows PC..but i want to reduce that time .
How can i acheive ..this desire...

please provide..inputs...

thanks in advance....

santhosh

unreal128 07-21-2006 06:27 PM

What computer language are you programming in?

bbeers 07-22-2006 06:03 PM

'man connect' says (among other things) this:

Note that for IP sockets the timeout may be very long
when syncookies are enabled on the server.

HTH


All times are GMT -5. The time now is 10:56 PM.