//
/////u // // craftware ===============
// // // utilities NetProbe
// // // // // // ===============
// // // yt /// www.utillyty.eu
//
Copyright (C) 2015 Attilio Pavone <tilly@utillyty.eu>
A trivial TCP/UDP connectivity tester.
Version 1.1, 22/05/2015
********************************************************************************
*
* USAGE
*
********************************************************************************
LSTN (listen)
=============
Activate a TCP Server listening on
SVR ADDR: server local IP address
SVR PORT: server local port number
When an incoming connection arrive it is accepted right away and the
others field are filled:
RMT ADDR: TCP socket remote IP address
RMT PORT: TCP socket remote port number
LOC ADDR: TCP socket local IP address
LOC PORT: TCP socket local port number
CONN (connect)
==============
Connect a TCP socket to the remote host listening at
RMT ADDR: TCP server remote address IP or name (i.e.: 192.168.1.1, www.utillyty.eu, etc)
RMT PORT: TCP server remote port number
As soon as the connection is accepted the other fields are filled:
LOC ADDR: TCP socket local IP address
LOC PORT: TCP socket local port number
BIND (bind UDP socket)
=====================
Create an UDP socket and BIND it to:
LOC ADDR: UDP socket local IP address [optional: leave blank for "any"]
LOC PORT: UDP socket local port number
SEND (send text)
================
Send the content of the upper text box via the TCP/UDP socket, based
on radio-button selection.
The socket must be connected/bound before sending.
If TCP is selected, the connected socket will be used (changes in text fields
are not taken in account as far as the socket is connected).
If UDP is selected, the packet is sent to the host/port currently entered in
the fileds RMT ADDR/RMT PORT
If 'Hex' is checket the text is interpreted as an array of hexadecimal values,
(digits are grouped two by two, all non hex digits are skipped).
For example this are interpreted as the same hex array:
hex-1: \x00\x01\x00\x00\x21\x12\xA4\x42\xED\x5C\x3B\x33\x1C\x73\x6B\x86\x2C\x42\x0C\xCE
hex-2: 00010000 2112A442 ED5C3B33 1C736B86 2C420CCE
RECEIVING
=========
All incoming TCP/UDP packet are displayed in the bottom text box as soon
as received.
For UDP also the remote ip/port are displayed in the message text.
If 'Hex' is checket the raw byte array in hexadecimal format is displayed
STRESS
======
When using the STRESS test function, a byte array of the chosen length filled
with the constant 10101010 value is sent to the peer (the text box content is
ignored)
- send
----
CHUNK (B): the prefilled array size in bytes that will be sent at the chosen
interval
INTERVAL (MS): the interval in milliseconds at which the array is sent
- receive
-------
To receive leave the CHUNK (B) field blank.
INTERVAL (MS): the interval in milliseconds at which display receive
status (bytes received in interval/total bytes received since
test started).
********************************************************************************
*
* CHANGELOG
*
********************************************************************************
version 1.0 [r1] - 2015-04-15
-----------------------------
- public release
version 1.1 [r3] - 2015-05-22
-----------------------------
- added hex option
- added host name resolution
- fixed window icon, removed exit button for space matter