The Connection object contains data about a network connection.
Structure
Key
|
Type
|
Description
|
port
|
integer
|
Port number.
|
host
|
string
|
Host name or IP address.
|
country
|
object
|
Country.
|
app
|
string
|
Application-level data.
|
protocol
|
string
|
Protocol that is used for the connection.
|
ip
|
string
|
Host IP address.
|
Example
{
"port": 31,
"host": "<IP address>",
"country": {
"name": "China",
"code3": "CHN"
},
"app": "{70,69,6e,67}",
"protocol": "TCP/IP",
"ip": "<IP address>"
}
|
|