Comment on Tutorial - Simple Port Scanner application using Java By Syed M Hussain



Comment Added by : Sana

Comment Added at : 2010-02-01 03:50:18

Comment on Tutorial : Simple Port Scanner application using Java By Syed M Hussain
Hello, I have executed the above code and it works but there is one problem with the code the port which it shows in use is again shown as not in use on the next line of the output please put the statement 'System.out.println("port not in use"+i)' in the catch block

View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. where do i download the DOM and SAX jar?
View Tutorial          By: David at 2011-11-11 03:04:11

2. I love http://www.java-samples.com very much , I w
View Tutorial          By: Phongveth at 2009-03-13 13:15:04

3. Nice info. I must say about this post.
than

View Tutorial          By: Ganesh Prasad at 2012-10-30 05:51:49

4. I am not able to open the rar file, can you please
View Tutorial          By: Chandra at 2008-08-07 10:35:59

5. really a gud work for xml parsing readers
View Tutorial          By: shreya at 2010-07-02 02:35:04

6. Fantastic yaar .realy very good n simple example..
View Tutorial          By: Satya at 2012-10-11 09:33:17

7. Excelent sample, I'm disagree with Anon, the sampl
View Tutorial          By: Gerardo Saldívar at 2009-09-21 15:25:01

8. @Srini

Hi Srini, I can answer your

View Tutorial          By: Sudev Wilson at 2015-04-08 12:23:33

9. I had a problem, which is the password when window
View Tutorial          By: jua at 2013-09-16 23:16:27

10. plz show me my answers
View Tutorial          By: Debnita Saha at 2010-05-01 05:15:16