//TODO zrobić poprawioną wersję README
The Main.java
file contains the main class Main
, which executes the core logic of the program. The application checks the availability of ports within a specified range of parameters and writes the results to files.
The CheckThread.java
file contains the CheckThread
class, which represents a thread responsible for checking port availability.
To run the application, follow these steps:
-
Compile the source code using the Java compiler.
-
Run the application, providing appropriate arguments. For example:
Where 127.0.0.1
is the IP address you want to check.
- Ensure that the application has necessary permissions to perform operations on ports.
- It's possible to modify the application parameters by passing different arguments when running the program.
The project serves as a solid foundation for further expansion and improvement. Below are areas to consider for development to enhance functionality, improve performance, and flexibility of the application:
Consider adding support for different network protocols to check availability, such as UDP, HTTP, ICMP, allowing for more comprehensive network testing.
Create a graphical interface for the application that enables users to input IP addresses, ports, and control running tests and displaying results in a user-friendly manner.
Implement a configuration management system that allows users to modify application parameters (e.g., IP addresses, file names) without altering the source code.
Add the capability to save test results to a database, enabling analysis of historical data and generating reports.