Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-21-2006, 05:48 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 9

Rep: Reputation: 0
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....

Old 07-21-2006, 06:27 PM   #2
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
What computer language are you programming in?
Old 07-22-2006, 06:03 PM   #3
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
'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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gaim hangs on connect, Kopete is fine! Adrian Baker Linux - Software 2 10-29-2006 09:10 AM
VNC on :0 Hangs Centos on connect mr_r Linux - Software 0 06-19-2006 07:15 AM
Boot hangs for 3 minutes at "Starting syslogd daemons" DaneM Slackware 4 06-29-2005 10:52 PM
SSH takes a long time (2 minutes) to connect jinju Linux - Newbie 5 07-31-2004 10:37 PM
My Athlon System hangs after 5 minutes when i login to redhat 8 keshif Linux - Hardware 12 03-03-2004 01:12 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration