473,776 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1565
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.co m

"archana" <tr************ **@yahoo.comwro te in message
news:11******** **************@ 79g2000cws.goog legroups.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.guar d.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.c om

"archana" <trialproduct2. ..@yahoo.comwro te in messagenews:11* *************** ******@79g2000c ws.googlegroups .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
3495
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, because the dates must have quotes on each side. I just don't know how make the dates right. Well I'll just show you the code and some insert statements it generates. Could anyone please help me?
1
1515
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 fine. I actually have a couple of questions: * how can I delete a file from the HTTP server? * how can I create a folder in the HTTP server?
1
3470
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 machine that has Windows XP installed. Before deploying we make sure that .NET framework 1.1 is installed on the XP machine. In the setup project, for support for Crystal Reports, we have added the following merge modules: 1)Crystal_Managed2003.msm...
1
2055
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 have created forms for each, so the user of the system can view member details, enter new members, view loan details, enter new loans, etc. A main menu has also been created so the user can easily access the three forms from this page. However,...
2
1204
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 force garbage collection on this class. I still want the GC to release all resources before finalizing etc...but I want GC to kick in ASAP, rather waiting to execute its algo to detect that this class needs cleaning up and finally come to its...
2
1191
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)? System.drawing.Icon OR System.drawing.Bitmap and Why ..... ?
2
1680
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 been unable to make it work in a bigger one. My program has to play a sequence of .wav files when the play button is clicked. Once it has finished doing so, I have to automatically move on to a new window.
5
1374
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 but there is no way to break the cycle! and so I have tried a "while" method too but our handbook fails to specify how to stop a program. please help me asap!
2
1205
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 of the head pointer and the tail pointer of an empty linked list? 2. Dereferencing is ----- ? 3. Show 2 different ways to print the contents of i in this code: int *p = &i;
0
9628
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9464
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9923
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8952
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7471
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6722
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5493
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3622
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.