socket
These inspectors expose the sockets opened on the network on the endpoint.
Version | Platforms |
---|---|
9.0.586.0 | Windows |
9.1.1065.0 | Debian, HP-UX, Red Hat, SUSE, Ubuntu |
9.2.0.363 | AIX, Mac |
9.5.13.130 | Raspbian |
Creation
Properties
Returns the local address of the socket.
- Q: unique values of local addresses of sockets of network
- A: 0.0.0.0
- A: 10.0.2.15
- A: 127.0.0.1
- A: 0:0:0:0:0:0:0:0
- A: 0:0:0:0:0:0:0:1
- A: fe80:0:0:0:3422:3b00:e7f8:c486
- A: fe80:0:0:0:3c5b:1dd4:2963:510e
Plural: local addresses
Version | Platforms |
---|---|
9.0.586.0 | Windows |
9.1.1065.0 | Debian, HP-UX, Red Hat, SUSE, Ubuntu |
9.2.0.363 | AIX, Mac |
9.5.13.130 | Raspbian |
Returns the round-trip time (RTT) of the TCP socket connections in the "ESTABLISHED" state. Such time is stored in a time interval
object and expressed in the "hh.mm.ss.us" format.
When the rtt property is called on a UDP socket, or on a TCP socket whose connection state is not "ESTABLISHED", the "Singular expression refers to non-unique object" error is thrown by the inspector.
The following example shows the RTTs of the TCP socket connections in the "ESTABLISHED" state.
- Q: rtts of sockets of network
- A: 00:00:00.000010
- A: 00:00:00.000530
- A: 00:00:00.000013
- A: 00:00:00.000052
The following example shows how RTT may be used together with the id
and name
property of the process
inspector.
- Q: ((ids of it, names of it) of processes of it, rtts of it) of sockets whose (tcp of it = True AND tcp state of it as string = "ESTABLISHED") of network
- A: (3648, sqlserv.exe), 00:00:00.000010
- A: (3152, BuilService.exe), 00:00:00.000530
- A: (2924, FillDB.exe), 00:00:00.000013
- A: (3060, firefox.exe), 00:00:00.000052
Plural: rtts
Version | Platforms |
---|---|
11.0.3.0 | Windows |
Returns the tcp state of the socket.
- Q: (remote ports of it, tcp states of it) of sockets whose (tcp of it) of network
- A: 443, TIME_WAIT
- A: 80, TIME_WAIT
- A: 443, ESTABLISHED
- A: 49708, ESTABLISHED
- A: 49707, ESTABLISHED
Plural: tcp states
Version | Platforms |
---|---|
9.0.586.0 | Windows |
9.1.1065.0 | Debian, HP-UX, Red Hat, SUSE, Ubuntu |
9.2.0.363 | AIX, Mac |
9.5.13.130 | Raspbian |