evaluating the computers TCP and UDP socket states  
Author Message
David Haga





PostPosted: 2003-12-16 5:44:00 Top

java-programmer, evaluating the computers TCP and UDP socket states I am looking to be able to read the TCP and UDP socket states of the
computer using Java2.

I want to be able to determine when a certain TCP socket is listening
vs. connected, etc.

Does the java2 API cover this sort of ability?

thanks,

Dave Haga

p.s. just to be clear, I want to understand the state of ALL sockets,
not just the ones opened by Java. for instance, "netstat -a" on a
windows platform provides the status of all TCP and UDP sockets.