LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-21-2006, 06:48 AM   #1
santhosh.bachu
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Rep: Reputation: 0
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
 
Old 07-21-2006, 07:27 PM   #2
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
What computer language are you programming in?
 
Old 07-22-2006, 07:03 PM   #3
bbeers
Member
 
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.

HTH
 
  


Reply


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 10:10 AM
VNC on :0 Hangs Centos on connect mr_r Linux - Software 0 06-19-2006 08:15 AM
Boot hangs for 3 minutes at "Starting syslogd daemons" DaneM Slackware 4 06-29-2005 11:52 PM
SSH takes a long time (2 minutes) to connect jinju Linux - Newbie 5 07-31-2004 11:37 PM
My Athlon System hangs after 5 minutes when i login to redhat 8 keshif Linux - Hardware 12 03-03-2004 02:12 PM


All times are GMT -5. The time now is 09:06 AM.

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