The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

Changes for version 0.28 - 2022-11-22

  • New Features
    • Added the following methods to the Sys::Socket::Constant class.
      • static method IPPROTO_ICMP : int (); static method ICMP_ADDRESS : int ();
      • static method ICMP_DEST_UNREACH : int ();
      • static method ICMP_ECHO : int ();
      • static method ICMP_ECHOREPLY : int ();
      • static method ICMP_ECHOREQUEST : int ();
      • static method ICMP_FILTER : int ();
      • static method ICMP_FRAG_NEEDED : int ();
      • static method ICMP_PARAMETERPROB : int ();
      • static method ICMP_REDIRECT : int ();
      • static method ICMP_SOURCE_QUENCH : int ();
      • static method ICMP_TIMESTAMP : int ();
      • static method ICMP_TIME_EXCEEDED : int ();
    • Added the following optional argument to the recv method in the Sys::Socket class.
      • Before
        • static method recv : int ($sockfd : int, $buf : mutable string, $len : int, $flags : int);
      • After
        • static method recv : int ($sockfd : int, $buf : mutable string, $len : int, $flags : int, $buf_offset = 0 : int);
    • Added the following optional argument to the send method in the Sys::Socket class.
      • Before
        • static method send : int ($sockfd : int, $buf : string, $len : int, $flags : int);
      • After
        • static method send : int ($sockfd : int, $buf : string, $len : int, $flags : int, $buf_offset = 0 : int);
      • Added the following methods to the Sys::Socket class static method sockatmark : int ($sockfd : int);
        • static method sendto : int ($sockfd : int, $buf : string, $len : int, $flags : int, $addr : Sys::Socket::Sockaddr, $addrlen : int);
        • static method connect_raw : int ($sockfd : int, $addr : Sys::Socket::Sockaddr, $addrlen : int);
  • Bug Fix
    • Added the following methods that is documented but not implemented to the Sys::Socket::Constant class.
      • static method SO_BROADCAST : int ();

Modules

System Calls for File IO, User, Process, Signal, Socket
File Tests
IO System Call
Constant values for IO.
the class for the DIR type in C language.
struct dirent in C language
the class for the FILE type in C language.
struct flock in C language
The stat Functions and The struct stat in C language
struct utimbuf in C language
ioctl System Call
Constant values for ioctl.
Poll System Call
Constant values for Poll.
Array of struct pollfd in C language
Process System Call
Constant Values for Process
Select System Call
Constant values for Select.
fd_set Type in C Language
Signal System Call
Sys::Signal::Constant is a SPVM module
Sys::Signal::Handler is a SPVM module
Signal Handler that Represents SIG_DFL in C language.
Signal Handler that Represents SIG_IGN in C language
Signal Handler to Monitor Signals
Signal Handler that is unknwon.
Socket System Call
struct addrinfo in C language
Sys::Socket::AddrinfoLinkedList is a SPVM module
Socket Constant Values
The address is not a valid network address.
struct in6_addr in C language
struct in_addr in C language
struct ip_mreq in C language
struct ip_mreq_source in C language
struct ipv6_mreq in C language
struct sockaddr in C language
struct sockaddr_in in C language
struct sockaddr_in6 in C language
Interface for Sys::Socket::Sockaddr
struct sockaddr_storage in C language
struct sockaddr_un in C language
Time System Call
Constant Values for Time
struct timeval in C language
struct timespec in C language
struct timeval in C language
struct timezone in C language
struct tms in C language
User System Call
Entry of Group Database
Entry of Password Database