Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Problems with HTTP Post in VB6.

Hi everybody.

My application in VB6 do a HTTP Post via an ASP Page, but in some places the error message is returned:

"Socket is not connected"

What I have to do to resolve this ?

Thanks.
0
Marcelv
Asked:
Marcelv
  • 5
  • 4
  • 3
  • +2
1 Solution
 
PaulHewsCommented:
What is the code used for post method?  Are you using the Winsock control?
0
 
Richie_SimonettiCommented:
did you check if there is an active connection to internet?
0
 
MarcelvAuthor Commented:
I'm using a DLL from Coalesys called CSHTTPCLIENT.DLL. This DLL encapsulates the Winsock.
This problem don't occur in my test enviroment.

Sorry, my english is not so good.

Can you help me ?

Thank you.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
MarcelvAuthor Commented:
Yes, there is an active connection to internet, via Proxy.
0
 
PaulHewsCommented:
Is the error occuring behind a proxy?  (This would be bad news unless the DLL can handle a proxy.)
0
 
PaulHewsCommented:
There is an article here about accessing http servers through a proxy.  It uses the Winsock control instead of your control, however

How to retrieve a file from the Web through a proxy server
http://www.vbip.com/winsock/winsock_http_03_01.asp
0
 
MarcelvAuthor Commented:
For example, in this machine that don't work the HTTP Post, the Download Accelerator don't work too.

Can be the Proxy configuration ?
0
 
PaulHewsCommented:
Programs that are not written to handle a proxy server can have difficulty whether the proxy is configured correctly or not, if that answers your question.
0
 
Richie_SimonettiCommented:
I am with Paul. If that dll not recognizes proxys, you are in trouble. could you use other way?
0
 
MarcelvAuthor Commented:
I thing that Proxy on the server don't let make an Upload or Download, how can i configure this?
0
 
Richie_SimonettiCommented:
Which proxy's brand are you using?
0
 
MarcelvAuthor Commented:
I'm using Microsoft WinProxy.
0
 
DanRollinsCommented:
Hi Marcelv,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept PaulHews's comment(s) as an answer.

Marcelv, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
ComTechCommented:
This question has been accepted by:

ComTech
Community Support Administrator  
Experts-Exchange  
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 4
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now