2019-07-18 03:20:59 -05:00
|
|
|
# Net-Connection-Sort
|
|
|
|
|
2023-06-01 12:34:41 -05:00
|
|
|
This sorts a array of Net::Connection objects.
|
|
|
|
|
|
|
|
Currently the methods below are supported.
|
|
|
|
|
|
|
|
```
|
|
|
|
host_f - Host foreign
|
|
|
|
host_fl - Host, foreign then local
|
|
|
|
host_l - Host, local
|
|
|
|
host_lf - Host, local then foreign
|
|
|
|
pid - Process ID
|
|
|
|
port_f - Port, foreign, numeric
|
|
|
|
port_fa - Port, foreign, alpha
|
|
|
|
port_l - Port, local, numeric
|
|
|
|
port_la - Port, local, alpha
|
|
|
|
proto - Network connection protocol
|
|
|
|
ptr_f - PTR, foreign
|
|
|
|
ptr_l - PTR, local
|
|
|
|
state - Connection
|
|
|
|
uid - User ID
|
|
|
|
user - Username
|
|
|
|
```
|