Introduction - If you have any usage issues, please Google them yourself
Now for an example that checks a range of ports on a specified host and reports
on those ports that are providing a service. This works by the program trying to
create a socket on each port number in turn. If a socket is created successfully, then
there is an open port otherwise, an IOException is thrown (and ignored by the
program, which simply provides an empty catch clause). The program creates a
text field for acceptance of the required URL(s) and sets this to an initial default
value. It also provides a text area for the program s output and buttons for checking
the ports and for exiting the program.