There are app's preferences, log viewer, and some information.
Parameter | Description |
---|---|
DESCRIPTION | Shows description article in each view. And, the additional information, Socket parameters, is displayed in socket list. See Chapter 1. Socket Simulator for details. |
AUTO MONITORING | Monitors some status, reflects them in Top View. Details is described later. See Chapter 1. Socket Simulator for details of Top View. |
IDLE TIMER | Turns off iOS's idle timer. To avoid disconnection, disables this setting. |
SCREEN COLOR | Inverts the background color of each data view (binary editor view, log view, etc). When disabled, displays in iOS device's appearance (Light or Dark). |
SYSTEM CALL TRACE | Selects the output level of the system call trace. Details will be described later. |
It discribes the details of AUTO MONITORING.
When enables this parameter, the app monitors the following status. In this case, keep in mind that the app will automatically calls poll(2), getsockopt(2) and getsockname(2).
If you need to watch exactly a socket behavior, it recommends that disabling these setting.
[Note]
Error log also is output here. Error log means that something wrong with the app itself occurs.
Because it needs to reduce memory usage, no further trace log is output after the number of lines reaches 10000. At the end of log, Reached the limit of log lines is output. But, log is reset with tapping Clear.
Format of the log is as below.
Output example of trace log is as below.
Oct 11 15:52:19.719 [0.000521] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5 Oct 11 15:52:23.929 [0.000537] getsockopt(5, SOL_SOCKET, SO_DONTROUTE, [0], [4]) = 0 Oct 11 15:52:25.790 [0.000102] setsockopt(5, SOL_SOCKET, SO_DONTROUTE, [1], 4) = 0 Oct 11 15:52:32.035 [0.000221] connect(5, {sin_family=AF_INET, sin_port=9999, sin_addr="12.34.56.78"}, 16) = -1 Err#51 ENETUNREACH Oct 11 15:52:36.371 [0.006439] poll([{fd=5, events=POLLIN|POLLPRI|POLLOUT, revents=0}], 1, 0) = 0 Oct 11 15:52:39.736 [0.000100] close(5) = 0 |
It discribes each colmun.
Colmun | Description |
---|---|
MMM dd Call Date | Date which called the system call. Month: Jan, Feb, ... |
HH:mm:ss.SSS Call Time | Time that the system call returned (milisecond accuracy). This is a local time depending on device's timezone setting. |
response Response Time | Indicates the time required for system call's process (microsecond accuracy). |
function System call Name | Indicates the name of system calls. There are the system calls which selectable in the list (see Chapter 2. Socket Simulator - Functions), socket(2) used to create a socket, and close(2) used to delete a socket. |
arg1, arg2, ... Argument Parameters | Indicates the values specified to system call. It described later in details. |
retval Return value | Indicates the reterun value of system call. When error occurred (returned -1), displays the following information. Err#<errno number> <errno name> |
The specification for notation of argument parameters is as below.
[Note]
Output level | Description |
---|---|
Level 1 | No data output. <DATA> is displayed in the argument of system call. |
Level 2 | Up to the first 16 bytes of bytes array is output as a string "xxxxxxx". The byte is replaced with Ascii if a byte is printable Ascii code, and resplaced with dot(.) otherwise. |
Level 3 | Up to the 512 bytes is output by Hexadecimal dump in the next line of system call. |