• Post Reply Bookmark Topic Watch Topic
  • New Topic

check a TCP port's state

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there an easy way to check if a port is occupied , like
public boolean isOccupied(int port) ; ?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay, i got it:
it's in java.net.SocketPermission !
seeee ya !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!