Modulevortex-ws-0.2.1GHC2024
Vortex.Ws.Door.Peer
Who a connection is charged to. An IPv4 address is one peer; an IPv6 address is charged to its /64, the smallest block one subscriber is usually handed, so a visitor cannot take every session slot by walking the addresses of their own network.
- 1 type
- 4 values
- Packagevortex-ws-0.2.1
- Exports5
- LanguageGHC2024
- LicenceBSD-3-Clause
- SourcePeer.hs
An IPv6 address's /64: its first four groups.
The peer a textual address is charged to: an IPv6 address's /64, anything else as written (at most 64 characters).
The peer of a socket's IPv6 address, as its four 32-bit words.
The eight groups of an IPv6 address in its textual forms, with
:: standing for a run of zero groups; Nothing for anything that is
not one. An IPv4-mapped address (::ffff:1.2.3.4) is not IPv6 here.