471,082 Members | 906 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,082 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 1442
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by duikboot | last post: by
1 post views Thread by Mithun Verma | last post: by
2 posts views Thread by Vai2000 | last post: by
2 posts views Thread by Pankaj Jain | last post: by
5 posts views Thread by ToAsTeEJaVa | last post: by
reply views Thread by leo001 | last post: by

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.