Network Ping Help

Discussion in 'iOS Programming' started by mattjgalloway, Oct 21, 2008.

  1. mattjgalloway macrumors member

    Joined:
    May 21, 2006
    #1
    Hey,

    Can anyone point me in the direction of classes within the SDK that I should/could be using to represent IP addresses (currently I've made my own class) and also a way to ping/detect network addresses. I've looked at a few things but nothing really seems to make sense at the moment.

    I'm really new to the SDK!

    Any advice much appreciated.
     
  2. CommanderData macrumors regular

    Joined:
    Dec 1, 2007
    #2
    Try the code mentioned here:
    http://toxicsoftware.com/new_sample_code_ping_tool/

    It was actually written in Cocoa for the Mac (not by me), but I was able to adapt it quickly and use it in an iPhone application to ping IP addresses. You'll need to check out the code with SVN. Enjoy! :D
     
  3. mattjgalloway thread starter macrumors member

    Joined:
    May 21, 2006
    #3
    That's awesome - thanks for that advice there! I'm going to look through that code and see what I can learn from it.

    I'm really liking the SDK at the moment - I'm new to it (and new to GUI programming) but it's all seeming to make sense, which is really good. I've tried Qt and GTK before and never really got to grips with them enough.

    Anyway, thanks again!
     
  4. RobotGrrl macrumors newbie

    Joined:
    Oct 31, 2008
    #4
    Hey CommanderData,

    Would you mind posting your refined code so that newbies like me can use it? :)

    Thanks!
     

Share This Page