SPVM::Sys::Socket::Sockaddr::Un - struct sockaddr_un in the C language
The Sys::Socket::Sockaddr::Un class in SPVM represents struct sockaddr_un in the C language.
use Sys::Socket::Sockaddr::Un;
This class is a pointer class. The pointer the instance has is set to a struct sockaddr_un object.
Sys::Socket::Sockaddr
static method new : Sys::Socket::Sockaddr::Un ();
Creates a new Sys::Socket::Sockaddr::Un object.
method DESTROY : void ();
The destructor.
method sa_family : int ()
Returns sa_family.
sa_family
method sun_family : int ();
Returns sun_family.
sun_family
method set_sun_family : void ($family : int)
Sets sun_family.
method sun_path : string ();
Copies sun_path and returns it.
sun_path
method set_sun_path : void ($path : string)
Sets sun_path.
method size : int ()
Returns the size of struct sockaddr_un.
struct sockaddr_un
method clone : Sys::Socket::Sockaddr::Un ();
Clones this instance and returns it.
Copyright (c) 2023 Yuki Kimoto
MIT License
To install SPVM::Sys, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM::Sys
CPAN shell
perl -MCPAN -e shell install SPVM::Sys
For more information on module installation, please visit the detailed CPAN module installation guide.