Results 1 to 4 of 4

Thread: KeepAlive connection!!! HELP!!

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    9

    KeepAlive connection!!! HELP!!

    As I make for pasasarle to the Proxy a petition Post and that it maintains it active that doesn't close until I want... this has to do with keepalive the problem it is that not you that parameter has to pass to the proxy or that I have to configure in the control winsock so that I don't close the connection if it is that it is the one...

    Sorry this is traduce use globalink...

    Thx

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: KeepAlive connection!!! HELP!!

    Thread moved from CodeBank forum (which is for code examples, not questions)

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: KeepAlive connection!!! HELP!!

    Is the connection being remotely closed or is it timing out? Sending data every 30 seconds or so (usually doesn't need to be this often) will prevent a connection time-out.

    If the proxy server is configured to close the connection then you need to modify the proxy server. What proxy server software are you using?

    You can also send a "Connection: Keep-Alive" in the HTTP header.

    ex: A basic example of an HTTP GET request (data sent to an HTTP server when requesting a webpage, ie: www.mysite.com/test.html)

    GET /test.html HTTP/1.1
    User-Agent: visual_basic
    Accept: *.*
    Host: www.mysite.com
    Referrer: www.vbforums.com
    Connection: Keep-Alive
    (extra new line here)

    There's usually a lot more info in there I just wrote that off the top of my head as an example.

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    9

    Re: KeepAlive connection!!! HELP!!

    A thousand times I made it, but nothing yet, I suppose that I have to pass him data each 30 seg, but how i make to go them by that same connection

Posting Permissions

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



Click Here to Expand Forum to Full Width