On Tue, Aug 29, 2000 at 10:16:57AM +0700, Oskar Sandberg wrote:
> On Mon, Aug 28, 2000 at 10:58:50PM -0400, Matt Rose wrote:
> > 
> >     I think the point you were trying to make (and I could be WAY off
> > here) is that all machines have some kind of netstat command that shows
> > what ports are listening.  "netstat -a" is very cross platform.  It works
> > on all versions of windows and unix that I've seen, (I have no idea if
> > there's a mac equivalent, tho) and it'll give you a definitive list of all
> > ports that are presently in use.  Combine this with the services list for
> > each OS, and you have a fairly good list of what ports to avoid.
> 
> Netstat will only show the currently bound ports, so how is that an
> improvement over trial and error which we know will work on all java
> platforms?

This is a good thing.  It can make Freenet look like some other
protocol.  However, I don't think that netstat would be really
portable.  If you executed if from Java, it would require that the
machine is a UNIX or Windoze box, and you can't integrate it into
Freenet itself (there is probably no way to do this in Java).

-- 
Travis Bemann
Sendmail is still screwed up on my box.
My email address is really bemann at execpc.com.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1410 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20000828/f43e86ef/attachment.pgp>

Reply via email to