• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Ping host and port
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Ping host and port


  • Subject: RE: Ping host and port
  • From: Shawn Bakhtiar <email@hidden>
  • Date: Mon, 8 Nov 2010 11:54:48 -0500
  • Importance: Normal


http://www.ntop.org

It is your friend. It is open source, and IMHO it incorporates a LOT of what you are asking for.

I would simply run it in the background with the output redirected to a NSScanner, or something that could pars it out.

At a deeper level, you can probably integrated directly into its library.


> From: email@hidden
> Date: Sun, 7 Nov 2010 15:16:30 -0800
> To: email@hidden
> CC: email@hidden
> Subject: Re: Ping host and port
>
> thanks a bunch, this is great!
>
> tom
> On Nov 7, 2010, at 2:40 PM, Dave Carrigan wrote:
>
> >
> > On Nov 7, 2010, at 2:31 PM, Kyle Sluder wrote:
> >
> >> On Nov 7, 2010, at 2:24 PM, Tom Jones <email@hidden> wrote:
> >>
> >>> Ops, thanks!
> >>>
> >>> I have not really done much with sockets. Is there an example you know of that I can learn from?
> >>
> >> THE guide to socket programming: http://beej.us/guide/bgnet/
> >
> > Specifically, section 5.4 has pretty much all the code you need, other than checking the return result of connect and possibly looking at errno. Don't forget to call freeaddrinfo() at the end or you'll leak memory.
> >
> >
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
 		 	   		  _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Ping host and port (From: Tom Jones <email@hidden>)
 >Re: Ping host and port (From: Tom Jones <email@hidden>)
 >Re: Ping host and port (From: Dave Carrigan <email@hidden>)
 >Re: Ping host and port (From: Tom Jones <email@hidden>)
 >Re: Ping host and port (From: Kyle Sluder <email@hidden>)
 >Re: Ping host and port (From: Dave Carrigan <email@hidden>)
 >Re: Ping host and port (From: Tom Jones <email@hidden>)

  • Prev by Date: Re: Calling getter on const object
  • Next by Date: Re: Calling getter on const object
  • Previous by thread: Re: Ping host and port
  • Next by thread: Moving Properties to
  • Index(es):
    • Date
    • Thread