HF RL Explorer

Task: Handle IPv4-Mapped IPv6 Addresses in Node.js

Task: Handle IPv4-Mapped IPv6 Addresses in Node.js: a task in Terminal-Lego-15k (Harbor dataset). When a Node.js server listens on IPv6 (which is the default dual-stack behavior), IPv4 clients connecting to it will have their addresses represented as IPv4-mapped IPv6 addresses in the format…

The task

When a Node.js server listens on IPv6 (which is the default dual-stack behavior), IPv4 clients connecting to it will have their addresses represented as IPv4-mapped IPv6 addresses in the format `::ffff:x.x.x.x`. This is part of the IPv6 transition mechanism defined in RFC 4291.

Part of PrimeIntellect/Terminal-Lego-15k.