473,468 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

querying http connection characteristics

Given a server and an internet client, can the server (or client) determine
the characteristics of the connection? for instance, whether it's running
through a proxy, what the connection speed is, etc?

assuming there is no "dotnet" way to do this, can it be done in any other
way?
Nov 15 '05 #1
2 1899
WoodBeeProgrammer,

If you are using one of the higher level programming construct
(HttpWebRequest for example), then you can get a limited set of information.
This is assuming that you are using this. There is a Proxy property on the
WebRequest class that has information about the proxy that is being used, if
there is one.

However, for more specific information, the best you can do is get the
socket, and query that for information, as well as possibly the performance
counters. The problem with the performance counters is being able to link
the data to the specific instances that you want to get stats for.

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

"WoodBeeProgrammer" <Wo***************@spamex.com> wrote in message
news:10**************@utility.isomedia.com...
Given a server and an internet client, can the server (or client) determine the characteristics of the connection? for instance, whether it's running
through a proxy, what the connection speed is, etc?

assuming there is no "dotnet" way to do this, can it be done in any other
way?

Nov 15 '05 #2
Nicholas, thanks.

This does bring to mind another question-- why is it that RealAudio, OE,
groove etc ask the user to specify stuff about their links such speed
category and proxy server stuff. Can they not get this information
programmatically as below? or is the information intrinsically unreliable?
(or are they just lazy?)

TIA
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uG*************@tk2msftngp13.phx.gbl...
WoodBeeProgrammer,

If you are using one of the higher level programming construct
(HttpWebRequest for example), then you can get a limited set of information. This is assuming that you are using this. There is a Proxy property on the WebRequest class that has information about the proxy that is being used, if there is one.

However, for more specific information, the best you can do is get the
socket, and query that for information, as well as possibly the performance counters. The problem with the performance counters is being able to link
the data to the specific instances that you want to get stats for.

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

"WoodBeeProgrammer" <Wo***************@spamex.com> wrote in message
news:10**************@utility.isomedia.com...
Given a server and an internet client, can the server (or client)

determine
the characteristics of the connection? for instance, whether it's running through a proxy, what the connection speed is, etc?

assuming there is no "dotnet" way to do this, can it be done in any other way?


Nov 15 '05 #3

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

Similar topics

4
by: Matt Young | last post by:
I've been tasked with integrating an older management system based on DBF files with my snappy new ASP application to provide users of the ASP application with real-time data from the management...
1
by: tabonni | last post by:
Hi All I connected MS Exchange Server to MS Access database using Access link table function. I can open the database table and see the fields and data inside the link table. However, the table...
3
by: C. Hughes | last post by:
I have a simple application that uses an XML file to store it's data. That means I don't have a seperate database. In order to read the data I created a DataSet that reads my XML file with the...
6
by: Greg | last post by:
I am working on a project that will have about 500,000 records in an XML document. This document will need to be queried with XPath, and records will need to be updated. I was thinking about...
0
by: JAB | last post by:
I have a quick question on .Net Connection Pooling and since I am a newbie in .Net I was hoping that some one out here can share some light on this for me. Okay, I know (according to MSDN Docs)...
6
by: Ober | last post by:
I'm having trouble with my security model, Application_Start, and accessing my database. My ASP.NET app is only going to be running in an intranet environment (not on the public Internet). ...
1
by: SQLScott | last post by:
I have been looking all over for the answer to this question. The closest I have come is reading the knowledge base article number 249718 but that is for a much older version. Can someone tell...
1
by: Job Lot | last post by:
i am querying excel file as follows Dim conn As New OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; " & _ "data source='" & "C:\Temp\SSPortfolio.xls" & " '; " & _ "Extended Properties=Excel...
167
by: darren | last post by:
Hi I have to write a multi-threaded program. I decided to take an OO approach to it. I had the idea to wrap up all of the thread functions in a mix-in class called Threadable. Then when an...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...
1
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.