IActivity over Linux /proc/net/tcp and /proc/net/tcp6: the remote endpoints of the connections accepted on a local port. Parsing is pure; reading the two files is the only effect, and a file that cannot be read contributes nothing (another OS answers no peers, never an error).
IActivity over Linux /proc/net/tcp and /proc/net/tcp6: the remote endpoints of the connections accepted on a local port. Parsing is pure; reading the two files is the only effect, and a file that cannot be read contributes nothing (another OS answers no peers, never an error).
(endpoint col)"ip:port" of a /proc/net/tcp(6) ADDR:PORT column ("[ip6]:port" for
IPv6; an IPv4-mapped IPv6 address reads as its IPv4 form), nil when
malformed. Pure: the address is a literal, nothing is looked up.
"ip:port" of a /proc/net/tcp(6) `ADDR:PORT` column ("[ip6]:port" for
IPv6; an IPv4-mapped IPv6 address reads as its IPv4 form), nil when
malformed. Pure: the address is a literal, nothing is looked up.(make-activity)(make-activity files)ProcNet over files (default /proc/net/tcp and /proc/net/tcp6).
ProcNet over `files` (default /proc/net/tcp and /proc/net/tcp6).
(peers text ports){port #{peer}} of /proc/net/tcp(6) text for local ports: the remote
endpoint (as endpoint, "ip:port") of every socket whose local port is
one of them, listening sockets left out. Pure.
{port #{peer}} of /proc/net/tcp(6) `text` for local `ports`: the remote
endpoint (as `endpoint`, "ip:port") of every socket whose local port is
one of them, listening sockets left out. Pure.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |