I know your predilection for creating your own utilities, but have you checked the app store offerings for "net monitor"? There are 50+ possibilities ranging in price from $2 to $50 (the most promising to my eye are of course the more expensive ones) but one of them might save you from reinventing the wheel.


If we knew what it was we were doing, it wouldn't be called research, would it?

— Albert Einstein