473,809 Members | 2,687 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Network Statistics

Hi All!
I want to make a program that monitors the active network connections. Can
somebody give me a tip or links with tutorials or something where i can see
how is that done? Thanks

Greetz
Radi.
Feb 3 '06 #1
3 3451
You might try taking a look at the System.Net.Netw orkInformation namespace.
This is new to 2.0 and provides access to network traffic information.

Brian Patterson
http://dotnet.redeyepos.com
http://brian.redeyepos.com

"Radi Radichev" <ra***********@ uni-jena.de> wrote in message
news:OZ******** ******@TK2MSFTN GP09.phx.gbl...
Hi All!
I want to make a program that monitors the active network connections. Can
somebody give me a tip or links with tutorials or something where i can
see how is that done? Thanks

Greetz
Radi.

Feb 3 '06 #2
Hi!
Thank you very much! But i can't seem to find how can i see the active TCP
connections and display the ips... Any ideas?

"Brian Patterson" <br***********@ redeyepos.comSP AM___N_O> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
You might try taking a look at the System.Net.Netw orkInformation
namespace. This is new to 2.0 and provides access to network traffic
information.

Brian Patterson
http://dotnet.redeyepos.com
http://brian.redeyepos.com

"Radi Radichev" <ra***********@ uni-jena.de> wrote in message
news:OZ******** ******@TK2MSFTN GP09.phx.gbl...
Hi All!
I want to make a program that monitors the active network connections.
Can somebody give me a tip or links with tutorials or something where i
can see how is that done? Thanks

Greetz
Radi.


Feb 3 '06 #3
I figured it out! This ist done with TcpConnectionIn formation... But how can
i do this real-time? I mean when there are new connections or when a
connection ist closed. How can i update the display? I can't find any events
that rise in the namespace.. ?
"Radi Radichev" <ra***********@ uni-jena.de> wrote in message
news:uQ******** ******@TK2MSFTN GP12.phx.gbl...
Hi!
Thank you very much! But i can't seem to find how can i see the active TCP
connections and display the ips... Any ideas?

"Brian Patterson" <br***********@ redeyepos.comSP AM___N_O> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
You might try taking a look at the System.Net.Netw orkInformation
namespace. This is new to 2.0 and provides access to network traffic
information.

Brian Patterson
http://dotnet.redeyepos.com
http://brian.redeyepos.com

"Radi Radichev" <ra***********@ uni-jena.de> wrote in message
news:OZ******** ******@TK2MSFTN GP09.phx.gbl...
Hi All!
I want to make a program that monitors the active network connections.
Can somebody give me a tip or links with tutorials or something where i
can see how is that done? Thanks

Greetz
Radi.



Feb 3 '06 #4

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

Similar topics

17
14082
by: Felix | last post by:
Dear Sql Server experts: First off, I am no sql server expert :) A few months ago I put a database into a production environment. Recently, It was brought to my attention that a particular query that executed quite quickly in our dev environment was painfully slow in production. I analyzed the the plan on the production server (it looked good), and then tried quite a few tips that I'd gleaned from reading newsgroups. Nothing worked....
5
6638
by: Jesper Jensen | last post by:
Hello group. I have an issue, which has bothered me for a while now: I'm wondering why the column statistics, which SQL Server wants me to create, if I turn off auto-created statistics, are so important to the optimizer? Example: from Northwind (with auto create stats off), I do the following:
1
2856
by: Edvard Majakari | last post by:
Suppose one wants to fetch the following data from given network interface, say, eth0: >>> Ethinf('eth0').addr() '192.168.1.42/24' >>> Ethinf('eth0').route('default') '192.168.1.1' >>> Ethinf('eth0').duplex() 'full' >>> Ethinf('eth0').speed()
1
4524
by: SQLDBA | last post by:
Does anyone know how to get SQL Server versions, Service pack versions and the Server that instance of SQL is running on a network. I have seen some threads on how to list SQL servers in a network but I need to find more info about these SQL servers. Any help appreciated..! Thx...
3
5679
by: Metal Dave | last post by:
Hello, A script we run against the database as part of the upgrade of our product is failing with the following message: ALTER TABLE ALTER COLUMN EncodedID failed because STATISTICS hind_61_3 accesses this column The line that fails is:
4
8786
by: Alex | last post by:
Hi All I'm writing scripts in VBS fore years. But now I've to write a tool in Visual Basic .Net which has to connet to a Windows domain. I know how to do this in VBS but I don't find a way in VB.Net. I've no idea how to logon to the domain via Net.Socket. It is not necessary to map a network drive. I can transfer data via UNC names. Can anybody give me a suggestion how to realize it?
17
5108
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also identifying memory leaks. The application in question is the Mozilla Web Browser. I also have had similar tasks before in the compiler construction area. And it is easy to come up with many more examples, where such kind of statistics can be very...
5
1748
by: Allan Ebdrup | last post by:
Hi We have a large class library of different classes, now we are going to implement a lot of usage statistics that we need, stuff like how many times a user has logged in, how many times a message has been read, how many times a ad has been shown and so on. Now I'm wondering what would be a good OO organization of this data, should the statistics be part of the objects they are for, or should statistics be seperate. Perhaps each object...
0
5974
ADezii
by: ADezii | last post by:
In last week's Tip, I showed you how to use the ISAMStats Method of the DBEngine (DAO) to return vital statistics concerning Query executions such as: Disk Reads and Writes, Cache Reads and Writes, and Locks placed and released. As promised, in this week's Tip I'll demonstrate how to accomplish parallel functionality within the context of ADO using the OpenSchema Method of the Connection Object. We indicate to the OpenSchema Method that we...
0
9602
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,...
0
10120
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
9200
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
7661
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
5550
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5688
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
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 we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.