Modified version from Akshathkumar Shetty's SocketTest, which can be found here: GitHub
It has the following features compared to the original SocketTest v 3.0.1:
- The original Ant project got converted to a Gradle project. The project can be imported to e.g. Eclipse via the Buildship plugin.
- Print every received text from the connection in a new line and prefix it with
R:
, like it is done for every sent text withS:
. - Allow the user to select a charset like ASCII, UTF-8 or UTF-16 for converting the entered text to raw bytes and back.
- The TCP client and server no longer append a new line to every sent text.
Open a console from your SocketTest project folder and enter:
gradlew build
You can find the generated JAR file within the following folder:
SocketTest\build\libs
A java tool for socket testing. It can create both TCP and UDP client or server. It can be used to test any server or client that uses TCP or UDP protocol to communicate.
Licence: GNU Lesser General Public License
Features:
- Create a TCP client socket and send commands.
- Create a UDP client socket and send commands.
- Create a TCP server socket and send responses to connected clients.
- Create a UDP server socket that listens on a particular port.
- Save the conversation with the client or host to a txt file.
- TrustManager to prompt if certificate does not get validated.
Copyright © 2003-2008 Akshathkumar Shetty
@Update
- added to program read from command line values