Help language development. Donate to The Perl Foundation
Constants::Sys::Socket - Socket constants defined in sys/socket.h
use Constants::Sys::Socket :SOCK, :AF, :SO, :SOL; say SOCK::DGRAM; say AF::INET6; say SO::REUSEADDR; say SOL::SOCKET; #The only value in the enum say SOCK.enums.keys; say AF.enums.keys; say SO.enums.keys;
Constants::Sys::Socket contains many enumerated values that are implemented as #define directives in
This module should be compatible with windows, macos, linux, netbsd, freebsd, openbsd, and dragonflybsd. Each platform will receive a slightly different enumerations.
Based on C headers found on official sites and unofficial mirrors of source trees.
Travis Gibson [email protected]
Copyright 2019 Travis Gibson
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.