Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: where to start



Hi Mark -
I wanted to lear Cocoa development and also needed the same type of tool. I decided to write a tool and wrote NetCheck as my first application. ( http://scriptsoftware.com/netcheck ). I had never done any GUI API development but a lot of client/server socket and unix systems programming. I had always wanted to tie together a GUI to app with some client/server socket code. I wrote NetCheck using BSD Socket API and did not try to learn the CFSocket API. NetCheck was the first CoCoa app I had written.


As for your question, is your approach to write a network "scanner" or test a table (or some kind of list) of IP addresses that you've deemed to be important or that test network up-time. Determining what your local subnet is and then composing a layer-3 ICMP broadcast packet is not a very network friendly thing to do on a shared network and doesn't provide any functionality in regards to UP/DOWN time of individual IPs. In my opinion, you should build the App such that you enter IP addresses you want to check and then send the ICMP packets to them. Therefore, I don't think bonjour should play a role in an application that test the up/down state of IP devices or a wan/ dsl link.

Anyway, good luck and if you need any help, send me an email.

Dalton Hamilton



On Sep 24, 2005, at 2:42 AM, Mark Dawson wrote:

I'm new to networking (did a little Open Transport many years back), and would like to create a simple app--a diagnostic that finds all the nodes on my local network, plus some remote (such as www.apple.com and www.google.com). The app would then "ping" those addresses on command--just a quick way to verify whether I've lost my DSL connection or something internal to my network.

I found the "simplePing" program that works to ping hosts (and figures out what the IP address is of "www.apple.com"). However, I wasn't sure how to figure out the local network addresses. I wasn't sure if Bonjour was the way to go. Any ideas?

I'd also like some pointers on where to look to learn more about Mac (or general) networking--I'm not sure where a starting point is. I know I need to understand better sockets, but I'm sure there's more :) I picked my "network" ping app more because I could find it useful (maybe there already is something like that?) but more importantly, I thought it would be a good introduction into networking…

Thanks!

Mark _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/ email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Newbie: where to start (From: Mark Dawson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.