Liking cljdoc? Tell your friends :D

hive-compose.adapter.procnet

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).
raw docstring

endpointclj

(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.
sourceraw docstring

make-activityclj

(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).
sourceraw docstring

peersclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close