473,289 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Please help asap.

Hi all,

I want to send webrquest throguh anonymous proxy.

Can anyone tell me how to validate ip address and port number of
anonynmous proxy server.

Is it using TctpClient class ?

And while sending request through anonymous proxy if ip address of that
proxy server is blocked by site how will i rectify this. Can i do this
by checking any HTTP error code?

Please help me asap.

thanks in advance.

Dec 13 '06 #1
2 1541
What do you mean by "validate"? Why not just use the WebProxy class,
set the proxy, and then send your request? If the request succeeds, then
you have nothing to worry about, if not, then you will get an exception or a
failure response.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"archana" <tr**************@yahoo.comwrote in message
news:11**********************@79g2000cws.googlegro ups.com...
Hi all,

I want to send webrquest throguh anonymous proxy.

Can anyone tell me how to validate ip address and port number of
anonynmous proxy server.

Is it using TctpClient class ?

And while sending request through anonymous proxy if ip address of that
proxy server is blocked by site how will i rectify this. Can i do this
by checking any HTTP error code?

Please help me asap.

thanks in advance.

Dec 13 '06 #2

Hi,

thanks for your reply.

Validate means, i am taking proxy servers ip address and port number
from user before sending webrequest through that proxy and processing
multiple urls using that proxy. So to start processing of multiple urls
i need some way to validate that proxy servers ip and port number and
give information to user whether that address is valid or not for
accepting http request and forwarding that request to destination
website or not.

can u tell me how to do this.

thanks.

On Dec 13, 11:59 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
What do you mean by "validate"? Why not just use the WebProxy class,
set the proxy, and then send your request? If the request succeeds, then
you have nothing to worry about, if not, then you will get an exception or a
failure response.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

"archana" <trialproduct2...@yahoo.comwrote in messagenews:11**********************@79g2000cws.go oglegroups.com...
Hi all,
I want to send webrquest throguh anonymous proxy.
Can anyone tell me how to validate ip address and port number of
anonynmous proxy server.
Is it using TctpClient class ?
And while sending request through anonymous proxy if ip address of that
proxy server is blocked by site how will i rectify this. Can i do this
by checking any HTTP error code?
Please help me asap.
thanks in advance.- Hide quoted text -- Show quoted text -
Dec 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: duikboot | last post by:
Hi all, I'm trying to export a view tables from a Oracle database to a Mysql database. I create insert statements (they look alright), but it all goes wrong when I try to execute them in Mysql,...
1
by: amine | last post by:
Hi, I am trying to develop an app for an IPAQ. the app is basically an ftp client. I have been using the webrequest and webresponse classes to download and upload files which works perfectly...
1
by: Mithun Verma | last post by:
Hello All, I have a Windows application that uses Crystal Reports 9 (bundled Version) developed using VS.NET 2003 on a windows server 2003 m/c. The application has to be deployed on the client...
1
by: AvrilComplic8ed | last post by:
Hello there I wonder if you can help me. I am creating a loans system for a make-believe CD rental company, in Microsoft Access. I have 3 tables: CD details, Member Details, and Loan Details. I...
2
by: Vai2000 | last post by:
Hi All, To my correct understanding Garbage Collection works based on Generation algorithm...(high level). I have an application which does some heavy operations usually File I/O's. I want to...
2
by: Pankaj Jain | last post by:
I have to store the icons in System.Windows.Forms.ImageList.I have to read icons from a icon directory... Which class from System.Drawing is best suited for Working with the images(icon)? ...
2
by: johnmmcparland | last post by:
I recently came across some code to help play .wav; http://www.codeguru.com/Csharp/Csharp/cs_graphics/sound/article.php/c6143/ and while I got this to work in a stand-alone application, I have...
5
by: ToAsTeEJaVa | last post by:
I need to repeat a set of instructions but if the user enters a certain character or number e.g. 0; the program should stop... what methods can I use for this? I have tried to use a "for" method...
2
by: BarberCut | last post by:
hey guys! please help me answer these questions. i'm not a C++ programmer but my employer asked me to answer these questions ASAP. please help me. thanks. 1. What will I find in the value field...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.