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
Re: KeepAlive connection!!! HELP!!
Thread moved from CodeBank forum (which is for code examples, not questions)
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.
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