-   Linux - Networking (
-   -   Connect ( ) hangs for 3 to reduce it (

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

Connect ( ) hangs for 3 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 that..Windows PC..but i want to reduce that time .
How can i acheive ..this desire...

please provide..inputs...

thanks in advance....


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.


All times are GMT -5. The time now is 05:21 PM.