• 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: Need simple port scan
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need simple port scan


  • Subject: Re: Need simple port scan
  • From: Brent Gulanowski <email@hidden>
  • Date: Mon, 7 Sep 2009 19:02:06 -0400

Deusty: AsyncSocket
4.3.4<http://deusty.blogspot.com/2008/02/asyncsocket-434.html>
<http://deusty.blogspot.com/2008/02/asyncsocket-434.html>Just create an
instance with your address and port and connect with a timeout. It's not
conclusive proof of a port being open or closed (there's no way to get
conclusive proof), but does the job. If it fails to connect before the
timeout, you get a delegate message.

On Mon, Sep 7, 2009 at 4:56 PM, Ashley Perrien <email@hidden>wrote:

> I'm very new to networking via cocoa and need to develop a small port
> scanner application. The core of it is very simple, is address 1.2.3.4
> listening on port X. I've done a bit of looking on NSStream, pipes, tasks
> and such but hopefully what I'm trying to get is a short and sweet. What
> specifically should I be checking into or does anyone happen to have a
> snippet of code that does the above?
>
> Ashley Perrien
> Random Quote of the day:
> "No prizes for predicting rain. Prizes only awarded for building arks."
>
> _______________________________________________
>
> 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
>



--
Brent Gulanowski
_______________________________________________

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: 
 >Need simple port scan (From: Ashley Perrien <email@hidden>)

  • Prev by Date: Re: Need simple port scan
  • Next by Date: NSImage rotation regression?
  • Previous by thread: Re: Need simple port scan
  • Next by thread: Re: Need simple port scan
  • Index(es):
    • Date
    • Thread