site_archiver@lists.apple.com Delivered-To: Macnetworkprog@lists.apple.com 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: Thanks! This email sent to dalton_hamilton@mac.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists.... 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. 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… Mark _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/ dalton_hamilton%40mac.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Dalton Hamilton