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 protected]>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 protected]) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/bgulanowski%40gmail.com > > This email sent to [email protected] > -- Brent Gulanowski _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
