Solved

Problems with HTTP Post in VB6.

Posted on 2001-07-10
14
228 Views
Last Modified: 2013-11-13
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
Comment
Question by:Marcelv
  • 5
  • 4
  • 3
  • +2
14 Comments
 
LVL 38

Expert Comment

by:PaulHews
ID: 6270298
What is the code used for post method?  Are you using the Winsock control?
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6270306
did you check if there is an active connection to internet?
0
 

Author Comment

by:Marcelv
ID: 6270314
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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:Marcelv
ID: 6270327
Yes, there is an active connection to internet, via Proxy.
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6270330
Is the error occuring behind a proxy?  (This would be bad news unless the DLL can handle a proxy.)
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6270351
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
 

Author Comment

by:Marcelv
ID: 6270374
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
 
LVL 38

Accepted Solution

by:
PaulHews earned 300 total points
ID: 6270433
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
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6270818
I am with Paul. If that dll not recognizes proxys, you are in trouble. could you use other way?
0
 

Author Comment

by:Marcelv
ID: 6270854
I thing that Proxy on the server don't let make an Upload or Download, how can i configure this?
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6271197
Which proxy's brand are you using?
0
 

Author Comment

by:Marcelv
ID: 6271202
I'm using Microsoft WinProxy.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7153030
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
 

Expert Comment

by:ComTech
ID: 7182467
This question has been accepted by:

ComTech
Community Support Administrator  
Experts-Exchange  
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Macro: print each sheet to pdf using ExportAsFixedFormat 11 48
How to Add / Edit Windows Menu 4 59
Problem to open text file 11 107
vbModal 12 51
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question