Does Anyone Have An Example Of How To Send A POST Request With Winsock And A Proxy?
I know how GET works with winsock and a proxy, but how can you use a proxy and use POST?
anyone have an example?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
HELP: Winsock To Send HTTP POST REQUEST To A Machine
Hello,
I would like to use visual basic to send data to a machine using an HTTP Post request, and cannot decide on the best way to do it. Can I use winsock. Please bear in mind the following.
I am sending a mult-part message (kind of like an email with attachments). It's actually a multimedia message in the MM7 format -> this is similar to email, a multipart MIME message.
I MUST post to a destination using the following format:
http://192.168.3.75:2097/mm7
I need to then send the data which I've formated according to the MM7 spec.
I need to receive responses from the receving application.
Any help would be greatly appreciated.
Thanks
Ben
Send Post Request To A Webpage
What's the "fastest" way to send a HTTP POST request to a webpage?
I know the winsock method. But I believe it is kinda slow.
Send Post Request To Default Browser
Hi,
I was wondering if it is possible to send a 'POST Request' To a users default browser?
If i would do something like
Code:
ShellExecute Me.hwnd, "open", "www.mywebside.com/login.php?username=root&password=pass", "", "", SW_SHOWNORMAL
Then it would just open the browser, and send a GET request...
But then the website wont work, because it grabs the POST requests...
I know it is possible with a winsock control, but i need it to get posted in the users brower...
how should i do this?
Thanks
How Can Use Xmlhttp To Send A Post Request, And Have A Browser Opened With The Url De
I want to send a POST http request from VB to an HTTPServer. When the request is sent, I want a new browser to be opened with the url set to the same url as in the http request. How can I do that? the reason is that the url I want to send to need the user to authenticate first before processing the content in the request.
I'm using xmlhttp. the code I have below does get received by the http server. but I don't know how i can have the browser opened as a result of xmlhttp.
thanks in advance.
Private Sub posthttp_Click()
Dim xmlhttp As Variant
Set xmlhttp = CreateObject("MSXML2.XMLHTTP.3.0")
strUrl = <some url>
MsgBox strUrl
xmlhttp.Open "POST", strUrl, False
Dim xmldoc As Variant
Set xmldoc = CreateObject("MSXML2.DOMDocument")
xmldoc.loadXML ("<?xml version=""1.0""?><root/>")
xmlhttp.send xmldoc.XML
Set xmlhttp = Nothing
End Sub
[VB6] Winsock POST Request Problem
I'm trying to connecto to google.com and translate a simple word (just to test if works).
And I have a problem when I'm sending POST request data, here is my code:
Code:
Private Sub Command1_Click()
Winsock1.Close
Winsock1.Connect "www.google.com", "80"
End Sub
Private Sub Winsock1_Connect()
Dim packet As String
Dim strpost As String
strpost = "hl=it&ie=UTF8&text=hello&sl=en&sl=en&tl=it&tl=it"
packet = "POST /translate_t HTTP/1.1" & vbCrLf
packet = packet & "Host: www.google.com" & vbCrLf
packet = packet & "Accept: */*" & vbCrLf
packet = packet & "Accept-Language: it,it-it;q=0.8,en;q=0.5,en-us;q=0.3" & vbCrLf & vbCrLf
packet = packet & "Content-Type: " & "application/x-www-form-urlencoded" & vbCrLf
packet = packet & "Content-Length: " & Len(strpost) & vbCrLf
packet = packet & strpost
Winsock1.SendData packet
Text1.Text = Text1.Text & packet
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim data As String
Winsock1.GetData data
Text2.Text = Text2.Text & data & vbCrLf
End Sub
As you can see I want the GETDATA in Text2.Text but I recieve this error:
Code:
HTTP/1.1 411 Length Required
Date: Fri, 01 Aug 2008 13:57:24 GMT
Content-Type: text/html; charset=UTF-8
Server: GFE/1.3
Content-Length: 1357
{html code}
What's the problem?!
Thanks in advance.
How To Send POST Data With Winsock In VB
I am trying to send POST data with Microsoft Winsock control but keep on receiving garbage from the webserver. Can anyone tell me the reason please?
What I send:
POST /search HTTP/1.1
Host: www.google.com
Content-Length: 30
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media Center PC 3.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Connection: close
hl=en&q=sql+tutorial&btnG=Google+Search
What I get:
HTTP/1.1 501 Not Implemented
Connection: close
Content-Type: text/html
Server: GWS/2.1
Transfer-Encoding: chunked
Content-Encoding: gzip
Date: Mon, 23 Oct 2006 17:08:55 GMT
Cache-Control: private, x-gzip-ok=""
Winsock HTTP POST - How Can You Send Files?
Like how can you send files that are sent by webbrowsers in the
<input type=file..> element?
anyone know?
i think its done by MIME, but how would you know what headers to use?
How To Make A Post Request Using Vb6?
Hi all. I got a vb 6 form that has a a few text boxes that users fill their name and address and a text massage and a submit button. I wonder how i can make a post request on click of this button to a php page so it recives that data from vb6 form. I be happy if some one tell me how i can make such post
request.Thanks
How To Make Post Request To Php From My Vb6 App?
Hi all i wonder if i can make my vb6 application to talk to a php page and send the php page some mysql statment that it executes in remote server.I want to send an HTTP Request, like a POST, with some data for the PHP script to use.I be happy if i get some help here.Thanks
Post Request Webbrowser Control
Ok basicly I am working on a little project i call Google Office
I need to create a gui login and simulate a post request to the google login webpage...
and then navigate to the google docs main screen after login how would I do this?
wb.navigate2 URL,,PostData?
Help
How To Build An Http Post Request ?
Recently i have been working on a small app that extracts data from a google sevice.
But now google has started an api service that allows users to directly post data to google accounts.here's the link
http://code.google.com/apis/accounts...alledApps.html
Now i have never worked with get/post http requests.So could some one guide on how to build one and then work with the responses that have arrived
Thanks
[Web Services] Server Receives GET Request Instead Of POST
I apologise for posting in this forum but I did not find another one more appropriate.
I am using SOAP SDK like in both client side and server side of a Web Service based application.
When I call the WS from a client machine (windows 2000/xp) the server receive a POST http request like expected but when I call the WS from anothers (windows nt 4.0) the clients sends a GET request and perhaps the server dont respond with the method invocation result (it responds describing the wsdl file). The client application is very simple and I do not understand where the difference arises.
In all machines (w2k prof/xp/nt acting like WS clients and w2k server acting like WS server) are installed the MS SOAP Toolkit 3
At the request sent by the NT machine also is missing the SOAPACtion header
Have any idea because the NT machines sends GET request instead of a POST one?
Thanks in advance
windows 2000/xp
POST /WSSAM/LPSamWS.WSDL HTTP/1.1..
SOAPAction: "http://tempuri.org/LPSamWS/action/LPSamWS.VencimientosPendientes"..
Content-Type: text/xml; charset="UTF-8"..
User-Agent: SOAP Toolkit 3.0..
Host: 172.16.0.29..
Content-Length: 1188..
Connection: Keep-Alive..
Cache-Control: no-cache..
Pragma: no-cache....
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope
xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAPSDK4:VencimientosPendientes xmlns:SOAPSDK4="http://tempuri.org/LPSamWS/message/">
<bstrMsgXMLIn>blahblahblah
</bstrMsgXMLIn>
</SOAPSDK4:VencimientosPendientes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>.
windows nt
GET /WSSAM/LPSamWS.WSDL HTTP/1.1..
Host: 172.16.0.29..
Content-Length: 1188..
Connection: Keep-Alive..
Cache-Control: no-cache..
Pragma: no-cache....
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAPSDK4:VencimientosPendientes xmlns:SOAPSDK4="http://tempuri.org/LPSamWS/message/">
<bstrMsgXMLIn>blahblah
</bstrMsgXMLIn>
</SOAPSDK4:VencimientosPendientes>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>.
Winsock Syntax? (To Request A Website With The Winsock Control)
Ok, I don't know very much about Winsock and am just now starting to use it. I'm making an anonymity program that modifies referer and user agent data. I managed to find an example of how its done on planetsourcecode.com but there's a few things that aren't working.
Anyway, when this string is sent, it sends the headers and a request for index.html from the connected host (winsock1.connect domain.com 80).
GET index.html HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-comet, */*
Accept-Language: en
Accept-Encoding: gzip , deflate
Cache-Control: no-cache
Proxy-Connection: Keep-Alive
User-Agent: Whatever
Referer: www.whatever.com
But when I used the website http://ipid.shat.net/ as the domain to see if code mdified the headers or not, it directed me instead to just www.shat.net. How would a browser request information to ipid.shat.net?
Also, I noticed that by sending just that information, cookies don't work properly. What other tags do I have to add onto that for it to recieve my session information? Thanks a lot.
Send Request To Webpage
I ONLY want to request the page, NOT recieve it. The purpose of this is for the sever to process a PHP and create the HTML, but i don't care about whats in the html, so i dont want to waste the time downloading it. I am using Microsoft Internet Transfer Control 6.0 to get the page. I don't know if i can stick with this, or if i need to use someting else. This is the code to RECIEVE the page:
VB Code:
txtCode.Text = INET.OpenURL(txtURL.Text)
Any ideas?
Send A Request And Get A Response
Hi
I have created a VB 6.0 application.All i need is ,upon clicking a command button a request is to be send to a web site and a response should be obtained from it.All this should happen without opening the web page.Can anybody suggest me how to do.
The Code im using in the command button click is
on Error GoTo GEnd
Dim RetVal
RetVal = Shell("C:Program FilesInternet ExplorerIEXPLORE.EXE http://localhost/WwalaDownload/Download.aspx?InstKe y=KD3HK5FDI8TD7FGHHR", vbMaximizedFocus)
'AppActivate RetVal, 1
GEnd:
End
But this is opening a web page.But i want my work to be done without opening a new page.Thanks
Winsock From Proxy To Non-proxy
He everyone,
This code i use now to get the source of a htmlpage... with proxy server
VB Code:
Private Sub Command1_Click() Dim StrRemoteHost as String Dim StrRemotePort as String StrRemoteHost = Trim(frmOptions.txtProxyIP.Text) StrRemotePort = Trim(frmOptions.txtProxyPort.Text) Whois.RemoteHost = StrRemoteHost Whois.RemotePort = StrRemotePort Whois.Connect StrRemoteHost, StrRemotePortEnd Sub Private Sub Whois_Connect() Whois.SendData "GET [url]http://www.bdreg.nl/index.html[/url]" & vbCrLfEnd Sub
This is the code I use to receive the source of the page.. How can I change this to a non proxy and what do I have to change
Grtz,
Bloged
How Do I Send A Simple HTTP Request?
The code I have right now (copied from Microsoft's website) is this:
CODE Dim hInternetSession As Long
Dim hInternetConnect As Long
Dim hHttpOpenRequest As Long
Dim sBuffer As String * 1024
Dim lBufferLength As Long
lBufferLength = Len(sBuffer)
hInternetSession = InternetOpen(scUserAgent, _
INTERNET_OPEN_TYPE_PRECONFIG, vbNullString, vbNullString, 0)
hInternetConnect = InternetConnect(hInternetSession, _
"team.monkeycrap.com", INTERNET_DEFAULT_HTTP_PORT, _
vbNullString, vbNullString, INTERNET_SERVICE_HTTP, 0, 0)
hHttpOpenRequest = HttpOpenRequest(hInternetConnect, "GET", _
"/cgi-bin/clan.pl?action=setserver&player=" + clanMember + "&server=" + serverIP + "&port=" + serverPort, "HTTP/1.0", vbNullString, 0, _
INTERNET_FLAG_RELOAD, 0)
HttpSendRequest hHttpOpenRequest, vbNullString, 0, 0, 0
How Do You Send A Macro Modifed Url Request?
While in outlook I would like to insert the subject and time for a event into a URL address. I then don't need to open the url I just need to sent the the url to the internet. Once the page is requested the purpose has been met.
Sample url:
("HTTP://mymessagingservice.com?subject=" Inserted subject and time "from=me")
I have the script to start the macro with an event reminder I just can't figure this part out.
Still Trying To Send Cookie With HTTP Request
I can communicate with the server and the app works as long as a cookie exists on the workstation I am running on. The problem is that I need to be able to run on a workstation that does not have a cookie. I cut and pasted this out of Microsoft's VBHTTP example program. The cookie is just not going out correctly, if at all. Can anyone see what I am doing wrong? Thanks!
The URL is: is009999/dummy.com/ExprexxXXX?AccountId=12345678&TXN=SearchByAccountId&Format=XML"
Code: hInternetSession = InternetOpen(scUserAgent, INTERNET_OPEN_TYPE_PRECONFIG, _
vbNullString, vbNullString, 0)
If Not CBool(hInternetSession) Then
MsgBox "Cannot Connect to Network", vbCritical + vbOKOnly, "Get Customer Information"
ReadNet = ""
Exit Function
End If
dwPort = 7001
hInternetConnect = InternetConnect(hInternetSession, CheckUrl, dwPort, _
vbNullString, vbNullString, INTERNET_SERVICE_HTTP, 0, 0)
hHttpOpenRequest = HttpOpenRequest(hInternetConnect, "GET", GetUrlObject, "HTTP/1.1", vbNullString, 0, _
INTERNET_FLAG_RELOAD Or INTERNET_FLAG_KEEP_CONNECTION, 0)
SCookie = "Set-Cookie: ewebprefs=B,C,A,E@@NA@@999999@@NA@@V13"
iRetVal = HttpAddRequestHeaders(hHttpOpenRequest, SCookie, Len(SCookie), _
HTTP_ADDREQ_FLAG_REPLACE Or HTTP_ADDREQ_FLAG_ADD)
sHeader = "Accept-Language: en" & vbCrLf
iRetVal = HttpAddRequestHeaders(hHttpOpenRequest, sHeader, Len(sHeader), _
HTTP_ADDREQ_FLAG_REPLACE Or HTTP_ADDREQ_FLAG_ADD)
sHeader = "Connection: Keep-Alive" & vbCrLf
iRetVal = HttpAddRequestHeaders(hHttpOpenRequest, sHeader, Len(sHeader), _
HTTP_ADDREQ_FLAG_REPLACE Or HTTP_ADDREQ_FLAG_ADD)
sHeader = "Content-Type: text/html" & vbCrLf ' "Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd." & vbCrLf
iRetVal = HttpAddRequestHeaders(hHttpOpenRequest, sHeader, Len(sHeader), _
HTTP_ADDREQ_FLAG_REPLACE Or HTTP_ADDREQ_FLAG_ADD)
iRetVal = HttpSendRequest(hHttpOpenRequest, vbNullString, 0, sData, Len(sData))
DoEvents
Sleep 1000 'sleep for one second
sData = ""
Do
sBuffer = vbNullString
bRet = InternetReadFile(hHttpOpenRequest, sBuffer, Len(sBuffer), lNumberOfBytesRead)
If Not bRet Then Exit Do
If Not CBool(lNumberOfBytesRead) Then Exit Do
If (Len(sData) + lNumberOfBytesRead) <= 65534 Then
sBuffer = sBuffer & Left$(sBuffer, lNumberOfBytesRead)
sData = sData & sBuffer
End If
Loop
' Close Intranet connections
If hInternetURL <> 0 Then InternetCloseHandle (hInternetURL)
If hInternetSession <> 0 Then InternetCloseHandle (hInternetSession)
ReadNet = sData
End Function
Send XML Request Using Soap Client 3.0
Hi,
I done with the Soap Client to connect the Web service using WSDL file but i dont know how to send the xml request , to that web service , pls anyone help me
here are code what i have written in my vb
Dim objSOAPClient As New SoapClient
objSOAPClient.mssoapinit ("http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl")
Regards
Rakki.M
To Send Mail Using Proxy IPs
I want to use Proxy Servers to send mail. Can any one help me how to use proxy servers.....
With the hope that some one will solve my query.....
Thanks in Advance
jaharul
Send Email Through Proxy Using VB6
Is it possible to send email using VB6 code. This code should work on the proxy connection too and should be effecient. I have tried a few objects but these didn't send email through proxy. Don't know whether they these will work on a normal email connection. Please give me your valuable input...
Send Request To Another Client And Do The Work After Getting It Approved
Hi............
I'm facing a problem with different clients in VB6. I've a database in my server and many clients are working with that. Those users are actually handling some operations. But no two users can handle the same operation at same time ( this is clients requirement ). I need to update my database as and when another user is handling that operation. So I need to send a request from one user who need to work on that to the user who is already working on that. In order to get all the resources released by that user. So second user should receive acceptance and rejection for his request. This is just like a communication medium between all the users. I don't know how to track all the users and send my request ( Message ) to that particular user.
Plz help me in this..
Manoj
Read The Printer Port For No Of Request Send
Hello Friends,
I have a problem that is to be solved at the fastest rate. I want to capture the no of requests send to a printer and a scanner
on a network. eg there are 5 pc on a network and the printer is on a single system. now the no of print commands send to the printer from the 5 pc are to be captured and to be displayed as the total printout = n and the same for a scanner.
I am waiting for any reply to be posted
Thanks in advance
Regards
Rohit
Winsock Request
I have a Winsock component setup right now on my network, exact same as whats in this thread
I would like to know if a similar control can be built using Winsock to do this:
1) Connect to a remote computer, by IP address. (I have a code that determines the IP address of the remote machine already..)
2) Open a .txt file, send it back to (my) the users computer and displays it in a text box on screen.
3) On command button press, take what ever is in my text box, and send the file back to the remote computer and save it.
Kind of like editing a configuration file, remotly.
I know the application would have to be running on the remote end as well as my end for this to work, if its at all possible.
I would really like to do this, I appeciate everyones help in advance!
Winsock Example Request
I'm at work where I can't get to any help files for winsock. Can somebody give me a quick example of the code required to create a winsock instance, including telling it to listen and respont to internet requests? I'm going to attempt to make MS Access act like a simple server, and I just don't have the resources here to get it running. Thanks!
How To Send Message Over A Proxy Server
Hi all
I am using winsock control to send messages from one IP to other on TCP/IP protocol. But i have a problem in sending to a client behind a Proxy sever.
Any ideas
Please help me
Latha
Winsock HTTP Request Help
I need help with this, my wrapper uses winsock to send requests and the close event does not fire which makes the connection stay open forever, my wrapper is at the bottom it is a attachment
WinSock Request Accept
Hey,
I have been trying to get this code to work, It's most likely something stupid am doing, but i cant get my server program type thingie to accept the Request ID from the client program thingie... Here is the code to the part that it says is wrong (If you need anyother parts tell me an i'll post it)
Code:
Private Sub HostSocket_ConnectionRequest(ByVal requestID As Long)
'Show Request In Host Log
HMsg = "Connection request id " & requestID & " from " & HostSocket.RemoteHostIP
HostLog.AddItem (HMsg)
sRequestID = requestID
iSockets = iSockets + 1
ConNumber.Caption = iSockets
Load HostSocket(iSockets)
HostSocket.LocalPort = 1007
HostSocket.Accept requestID
End Sub
PS. I looked at an example to help me with this, so am not sure whats wrong.
Thx in advance.
Ali.
Can Winsock DLL Do Other Protocol Request ...
guys,
i find that the winsock OCX really is limited in its capability...
can anyone suggest me a better one for network programming? because the protocol type is limited to a few only....
I hope to do RTSP / RTP request ... is there any thing that i can used to do that ???
can Winsock Dll do other protocol request or its the total same with the winsock OCX?
Does anyone has a sample using winsock DLL (as client)...??
Multiple Request With Winsock
Greeting,
I have a little problem with winsock. I have a server and several
client. I want to transfer text from server to client trough the network
In this case, I using winsock to transfer the text. It is ok when only 2
computer connected (1 server and 1 client). But, when 3 computer
Connected (1 server and 2 client) I cant broadcast text to all client.
Does any body know how to broadcast text fom server to client trough the
network and winsock?
thanks
Rgds,
Rano Nugrah Agung Homan
Winsock Sample Request
Hi all,
I need to make a server app for my project. I have concluded that I will need to implement Winsock to do so. I have read up on all Winsock articles here (and many others elsewhere) and have downloaded and studied all the samples I could find.
However, I am unable to do what I want because:
- The tutorials say that the IP address or friendly name of the target computer MUST be specified for the Winsock control to connect on the other side. This strikes me as very backward, as I can not always know what IP addresses my customers' network stations will be running on and cannot also predict their friendly names. Does this have to be hard-coded?
- Try as I may, I cannot create a working sample of Server.Exe and Client.Exe to run on the same machine as I cannot afford the luxury of testing my code over two machines. Is there any way I can debug / test on one machine?
If any member proficient with Winsock (Laura Stephens and Jason Rogers come to mind) would like to help, I shall appreciate a small sample to get me started by solving the above two problems.
GoodGuy
Experience is a bad teacher for its exams precede its lessons.
Edited by - GoodGuy on 12/10/2007 10:23:30 PM
Send Outlook Meeting Request (or Appointment) Without Going Into The Senders Calendar
I know this is possible, I found out how to do it on the MSDN, but I am buggered if I can find it again
I basically need to send the meeting request but not have it go into the senders calendar, because they will not be attending the said meeting.
I can send the meeting request already, but is there some property I am missing?
Anythoughts?
Thanks in advance...
Post An Ip Or Send Through Email/icq?
I am looking for a way to send the ip of the computer the program is run on through email, or if possible aim (or aol buddy list) or icq. How can read a computers ip through vb?
Winsock Proxy
I have looked and looked, and I have yet to find what I need.
What I am trying to do, is make a app that a chat program I use connects to, the app inturn connects to a proxy and connects to the server I choose.
I know it can be done (have seen it) just I have never seen how to do it.
Any examples, tips would be great.
Winsock Proxy
How do i create a winsock based proxy?
what i need to be able to do is send get data on a open port on my router which will then forward that data to my computer. the proxy will pick it up on that port and convert it to the appropriate port.
Using A Proxy Through Winsock
I'm having problems retrieving a page via a proxy using Winsock.
This is the data I am sending through winsock:
Code:
GET http://www.site.com HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Host: 1.1.1.1
Connection: Close
Cookie: session=temp
The Host is the IP of my proxy server and I've connected to the proxy with Winsock.Connect.
The result from the server is a 301 error:
Code:
HTTP/1.0 301 Moved Permanently
Date: Wed, 25 Jul 2007 01:59:44 GMT
Server: Apache/1.3.33 (Unix) PHP/4.4.3
Location: http://www.site.com/
Content-Type: text/html; charset=iso-8859-1
Connection: close
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://www.site.com/">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.33 Server at 127.0.0.1 Port 80</ADDRESS>
</BODY></HTML>
I'm sure it has something to do with the proxy and not my Winsock request because it works fine when I am connecting directly, but I get the 301 error when trying to do it with a proxy.
Winsock Proxy Bug?
I get this bug in the proxy, I am building,
Sometimes, on certain pages, either pictures fail to load or html is cut off.
View the screenshot.
really need help/suggestion on what could be cauing it.. thanks
Winsock Behind Proxy
Do I have to worry about connecting to my server if my client program is behind a proxy? If so, how would I do this?
How To Use A Proxy With Winsock In FTP
Are there any documentations on the internet that show how to use proxies on FTP? On HTTP it should be something like first connecting to the proxy , and then sending request but im totally blank on using proxies with FTP.
Also, any idea for using SOCKS 4/5 in FTP? Anyone ever used proxys in FTP? Or knows of somke good resources for using them?
thanks a lot!
Winsock Proxy
I'm trying to make a proxy using the wisock control. I'm havg a problem though.
Code:
Private Sub server_DataArrival(Index As Integer, ByVal bytesTotal As Long)
server(Index).GetData datas(Index)
client(Index).SendData datas(Index)
End Sub
The above code causes an error at the moment I initiate a connection to a server. I went online and found that there will be an error if I don't wait for the connection to finish. I tried putting a 'do until .status = sckconnected' loop to wait for the connection to finish but it just sits there forever. What should I do?
|