Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

check a TCP port's state  RSS feed

 
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!