|
-
May 30th, 2007, 03:08 PM
#1
Thread Starter
New Member
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
-
May 30th, 2007, 06:18 PM
#2
Re: KeepAlive connection!!! HELP!!
Thread moved from CodeBank forum (which is for code examples, not questions)
-
May 30th, 2007, 08:23 PM
#3
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.
-
Jun 1st, 2007, 01:40 PM
#4
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|