Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, Have a question regarding the implementation of TCP keep alives. If I enable the option of keep-alives on a TCP socket, is there any way that my application can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    5

    TCP keep alives


    Hi,

    Have a question regarding the implementation of TCP keep alives.

    If I enable the option of keep-alives on a TCP socket, is there any way that my application can get the response to the keep-alive back from the kernel. Basically, I have a 'select' blocking on a socket on which I have enabled keep-alives. I need to know if select would unblock if a response to a keep-alive sent by the kernel is received on the socket.

    Many thanks.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome!

    Sorry, but duplicate threads/posts are not allowed:

    http://www.linuxforums.org/forum/lin...ums-rules.html

    Please continue any discussion on this topic in your remaining thread.

    Thank you.
    oz

Posting Permissions

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