in reply to Re: Re: Re: Re: Re: Problem Keeping Socket Alive
in thread Problem Keeping Socket Alive

In the meantime - what do you think the state would be after the process stops working, and how would you resolve the problem, given the netstat data?
  • Comment on Re: Re: Re: Re: Re: Re: Problem Keeping Socket Alive

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Problem Keeping Socket Alive
by waswas-fng (Curate) on Dec 23, 2002 at 21:37 UTC
    I don't know that I am expecting anything from netstat -- If the output has something other than ESTABLISHED than that may point to other problems, Can you check the config on the Serial->Net plug and tell me what you have set for: Inactivity Timeout: and Inactivity Timer: under the Additl settings? Default is enabled This can cause the plug to drop connections after a timeout period -- and if it does not handle this properly can leave the port on the logging server side in one of the WAIT states that can make the port apear to be used but really is just partally connected.

    -Waswas
      Good thinking:
      Inactivity Timeout = Enabled
      Inactivity Timer = 0:0

      I also noticed something called "Packing Algorithm" that might be helpful. If I could get my UDS to send out a unique charachter every so often, that should also keep my connection alive.