Find the answer to your Linux question:
Results 1 to 4 of 4
hi, Please let me know "How can I reduce TCP timeout " for delay which is normally in minutes. I want to reduce it in miliseconds or 1-2 seconds. Regards ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    9

    TCP Timeout


    hi,

    Please let me know "How can I reduce TCP timeout " for delay which
    is normally in minutes.
    I want to reduce it in miliseconds or 1-2 seconds.

    Regards
    Vishgal

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    I think a tcp delay would be dependant on your application in question, not tcp in general, or any system wide configuration.

    You also need to list quite a bit more information.

    What distro are you running,
    What application are you running that you're trying to reduce your timeout,

    if you post what your ACTUAL problem is, we may be able to offer a workaround too.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    9
    Quote Originally Posted by meton_magis View Post
    I think a tcp delay would be dependant on your application in question, not tcp in general, or any system wide configuration.

    You also need to list quite a bit more information.

    What distro are you running,
    What application are you running that you're trying to reduce your timeout,

    if you post what your ACTUAL problem is, we may be able to offer a workaround too.
    Hi,

    Thanks for your reply.
    Actually I need to develop a PING utility which will only use the TCP pinging and not the ICMP.
    The TCPWaitTimeDelay in case of MOst opearting system is from 30-300 Seconds.
    If the host machine does not up and I ping with the TCP then the timeout wil be on avaerage 2 minutes which will be quite high.
    I need to set it in Miliseconds.
    So how can I do this .
    It will be very pleasing if you elloborate with some sample code.

    Regrads
    Vishal

  4. #4
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    I'm at work on windows, so I can't help you with real examples, but if ICMP CAN work for you, then just `man ping` to find all the details. You may also want to check out nmap, they have a tcp ping function built into it. I can't help you TOO much beyond that.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •