Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] Re: Properly Closing Soap::Transport::HTTP::Daemon

Expand Messages
  • Randy J. Ray
    ... I had the same issue when I was writing the basic server class for my XML-RPC package (RPC::XML::Server). ReuseAddr should be enough, I don t use
    Message 1 of 3 , Jan 31, 2004
    View Source
    • 0 Attachment
      >>Typically, the server leaves its port open for a long time after I've
      >>killed it. When I try to restart the daemon, I get an error:
      >> Can't create daemon: Address already in use at server line 16
      >
      >
      > I don't think it has anything to do with how you kill the server. I
      > believe you need to include ReuseAddr => 1 as a parameter to your new()
      > call for creating the daemon. You might even need to include ReusePort
      > => 1 as well.

      I had the same issue when I was writing the basic server class for my XML-RPC
      package (RPC::XML::Server). ReuseAddr should be enough, I don't use ReusePort.

      Randy
      --
      """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
      Randy J. Ray Campbell, CA http://www.rjray.org rjray@...

      Silicon Valley Scale Modelers: http://www.svsm.org
    Your message has been successfully submitted and would be delivered to recipients shortly.