Welcome to Dream.In.Code
Become an Expert!

Join 149,497 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,368 people online right now. Registration is fast and FREE... Join Now!




Admission Control For WLAN ?

 
Reply to this topicStart new topic

Admission Control For WLAN ?, (DHCP, Service Controller)

irvineyan
8 Apr, 2007 - 02:10 PM
Post #1

New D.I.C Head
*

Joined: 8 Apr, 2007
Posts: 1


My Contributions
I have a notepad,which having a data store into it and then overwrite by a new data every 1 second constantly.
I want to read the data (which is the total bandwidth usage of my whole WLAN)which changing every 1 second.

From here,I want to use the data to do an admission control of the LAN.
This is basically how is the idea:
1) Read the BW data.
2) Set a Bandwidth limit as reference level (eg: 1000000 Mbps)
3) Compare the BW data I read to the BW limit, if exceed the limit,I want to Pause my window DHCP service,So that client go into my LAN.
4) If the BW going below the BW limit, the DHCP service have to automatically Continue again.

Anyone can help me on that? What programming language is more suitable to use? In this case,I using Window XP as my platform. As I do some research, I realize there is a API call "service controller" can be use n this case. I am not sure on it and I don't how to deal with the API.


Thousands of appreciate enclosed here for those who willing to help me!!
Edit/Delete Message icon_up.gif
User is offlineProfile CardPM
+Quote Post

NickDMax
RE: Admission Control For WLAN ?
9 Apr, 2007 - 07:22 PM
Post #2

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,867



Thanked: 53 times
Dream Kudos: 550
My Contributions
I am going to move this over to "Other Languages" where you might get a better audience.

I know that you CAN do all of this in C++, but that does not make it the best place for it. It *sounds* like a job for a scripting language like PowerShell or WMI scripts in VBscript or Jscript, but I don't know much about Network programming.
User is offlineProfile CardPM
+Quote Post

eLliDKraM
RE: Admission Control For WLAN ?
9 Apr, 2007 - 07:25 PM
Post #3

Pepè Le Pewn
Group Icon

Joined: 13 Aug, 2005
Posts: 6,565



Thanked: 2 times
Dream Kudos: 225
My Contributions
abusing your powers already? for shame
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Admission Control For WLAN ?
9 Apr, 2007 - 07:27 PM
Post #4

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 15,262



Thanked: 61 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
Poor Nick, Mark is gonna make this a rough 30 days for you.


Thanks for moving it smile.gif
User is online!Profile CardPM
+Quote Post

eLliDKraM
RE: Admission Control For WLAN ?
9 Apr, 2007 - 07:30 PM
Post #5

Pepè Le Pewn
Group Icon

Joined: 13 Aug, 2005
Posts: 6,565



Thanked: 2 times
Dream Kudos: 225
My Contributions
the abuse will last a lifetime
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 06:14PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month