hi gurus,
this piece of code for the connect event of the winsock for a normal dial up connetion. but i want to do the same for the proxy serve. is it possible jus to configure the proxy server in this piece of code like adding rules to (adding comands to lstrCommand) or need to do some other thing. i'v no idea. please help me out.


Private Sub Winsock_Connect()
Dim lstrCommand As String

lstrCommand = "GET " + URL + " HTTP/1.0" + vbCrLf

lstrCommand = lstrCommand + "Accept: *.*, */*" + vbCrLf

lstrCommand = lstrCommand + "User-Agent: Conquest" & vbCrLf

lstrCommand = lstrCommand + "Referer: " & gstrSvrURL & vbCrLf

lstrCommand = lstrCommand + vbCrLf
Winsock.SendData lstrCommand

End Sub