evaluating the computers TCP and UDP socket states

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Haga

    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.

Working...