sockaddrun
sockaddrun is a term used in some programming and networking communities to describe a hypothetical cross-protocol socket address abstraction. It is not a standard, but a conceptual model designed to unify the representation of endpoints across IPv4, IPv6, Unix domain sockets, and other address families. The idea is to provide a single, runtime-agnostic container that can carry address data and related metadata in a portable form.
Design goals include protocol independence, compact storage, and straightforward conversion to and from native OS socket
Usage scenarios include multi-protocol network libraries, cross-platform applications, and network diagnostics tools that need to manipulate
Relationship to existing constructs: sockaddrun is inspired by the socket address family abstractions such as sockaddr_storage,
See also: sockaddr, sockaddr_in, sockaddr_in6, sockaddr_storage. The term appears primarily in informal discussions and research contexts