realbasic-nug
[Top] [All Lists]

Re: Finding all machines on a network that are listening on a port

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Finding all machines on a network that are listening on a port
From: "Aaron Ballman" <aaron at realsoftware dot com>
Date: Sat, 31 Jul 2004 10:25:56 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <01ed01c476c7$4b1df340$6b64a8c0 at KEITHXP>
> What is the best way to find machines on a network that have ports open.
> eg I want to find all the machines on the local network that have port
4563
> open

You are wondering how to do a "port scan" and the short answer is: why do
you need to do this?  It's complicated to do it properly.  If you just need
something very simple and don't mind abusing the local network, then you can
simply loop over all the local addresses (using the netmask to determine
what IPs are "local") and try connecting on that port.

HTH!

~Aaron

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>