Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Mac OS X Development Forums > Mac OS X Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-12-2009, 01:56 PM   #1 (permalink)
Registered Member
 
Naughty_Ottsel's Avatar
 
Join Date: Aug 2008
Location: Gillingham, Dorset, UK
Age: 19
Posts: 218
Naughty_Ottsel is on a distinguished road
Send a message via MSN to Naughty_Ottsel
Default Watching Internet Data Usage

Hey guys, I've recently had some news that we are changing our boradband package to include a new modem, skype phone and faster network speed, however there is a secure download limit this time, we have worked out a set usage for each member of the family but I am worried that I may not stick to the limit and had an idea to create a personal app that can check the internet data usage of my computer and, if over the limit, block all ports on the computer until a set date of the next month.

My big problem is I have no idea where to start, all I need is an idea of the code to check the data usage, preferably declared as a float or int or whatever so it can be shown on the app, how to block all ports and how to set it to release the lock each month.
__________________
Follow me on Twitter
Naughty_Ottsel is offline   Reply With Quote
Old 05-02-2009, 02:10 AM   #2 (permalink)
Registered Member
 
mnemonic_fx's Avatar
 
Join Date: Jun 2008
Posts: 419
mnemonic_fx is an unknown quantity at this point
Default

That would be complex in the case of how to route the information on data usage to the app, or some central point that the app could query on it.

If you want to capture the data usage even "just" on your iPhone, you need the app to be running in the background, or else, how does it read the data, when you use other apps which is using a data network ?

You need an external server, so the app could query on it.
__________________
Visit Me

Writing code is not only about writing instructions to a machine / computer, but also about writing something that could be read, understood, and maintained by others. That's why, I like Cocoa.
mnemonic_fx is offline   Reply With Quote
Old 07-08-2009, 03:07 PM   #3 (permalink)
Registered Member
 
MikesTooLz's Avatar
 
Join Date: Jan 2009
Location: Miami, Florida
Posts: 211
MikesTooLz is on a distinguished road
Send a message via AIM to MikesTooLz
Default

or even easier idea would be to setup the parental settings for the users on the computer. give them X amount of time on the computer per day or month and then the computer will log them off.

Its not going to cut you off after X amount of band width but it will limit how much the computers are being used. And if your not using the internet the admin can always still log in.
MikesTooLz is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 473
15 members and 458 guests
alexeir, David-T, Dj_kades, foslock, iAppDeveloper, jeroenkeij, LunarMoon, Mijator, myach, pipposanta, QuantumDoja, robsmy, sacha1996, SLIC, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,928
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:26 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0