Menu

Response Timeout

Help
Anonymous
2003-03-28
2003-04-03
  • Anonymous

    Anonymous - 2003-03-28

    Hi,

    i'm using ur Lib since quite a while and i love it!!!

    My question is, where do i hv to implement a timeout??
    If the server is not there than i get a correct message, but when i connect to an wrong but open port, lets say the ftp port, there is no response and my prog hangs.

    Thanks in advanced.

     
    • Chris Morley

      Chris Morley - 2003-03-28

      For now, it should fail when the default socket time out is up, although I don't think I have tested that scenario. Its definitely a hole in the API, and I am working on 2 fixes: first, add an optional time out parameter to the client execute method, and second, define an asynchronous client API. I will post here again when there is something to test in cvs.

      Chris

       
    • Anonymous

      Anonymous - 2003-04-03

      Good work!

      I'm waiting for a new asynchronous API in XmlRpc++ project.

       

Log in to post a comment.