Fastest way to scan ports with Java

后端 未结 6 1380
借酒劲吻你
借酒劲吻你 2020-11-30 21:46

I made a very simple port scanner, but it runs too slow, so I\'m looking for a way to make it scan faster. Here is my code:

public boolean portIsOpen(String          


        
6条回答
  •  情话喂你
    2020-11-30 22:15

    If you decide to use the Nmap option and want to continue with Java, you should look at Nmap4j on SourceForge.net.

    It's a simple API that allows you to integrate Nmap into a java app.

提交回复
热议问题