I want to do port scanning in java
that i want to find out which ports are open,closed or blocked
how can i do this?