Sign in to follow this  
Yartch

Windows Networking help plz

Recommended Posts

Yartch    116
I'm just starting Windows network programming, and need a little help getting started off on a little program I'm making.

Pretty much it runs in the background, obtains a handle to the currently connected network, and checks every second to see how much data has been sent and received in the past second. If the adapter is sending data, but not receiving, the program should disconnect from the network, and reconnect right away.

It's design is based off of what I'm doing to fix a weird issue with my router, so I'm guessing it will work.

This will be the first time I'm working with networks in programming, so could someone help me with the following?

1. Getting a handle on the network
2. Obtaining the Datagrams Received/sec and Datagrams Sent/sec values (I'm not sure where these are at all, but I'm using them in the Windows Performance Monitor right now)
3. Connecting/Disconnecting to the handled network
4. Anything else I need to know to do this

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this