Name
SPVM::Sys::Socket::Sockaddr::Un - struct sockaddr_un in the C language
Usage
use Sys::Socket::Sockaddr::Un;
Description
Sys::Socket::Sockaddr::Un
is the class for the struct sockaddr_un
in the C language.
This is a pointer class.
Inheritance
This class inherits Sys::Socket::Sockaddr.
Class Methods
new
static method new : Sys::Socket::Sockaddr::Un ();
Instance Methods
DESTROY
method DESTROY : void ();
The destructor.
sa_family
method sa_family : int ()
Gets sa_family
. This is the overriden method of the sa_family method in the Sys::Socket::Sockaddr class.
sun_family
method sun_family : int ();
Gets sun_family
.
set_sun_family
method set_sun_family : void ($family : int)
Sets sun_family
.
sun_path
method sun_path : string ();
Copies sun_path
.
set_sun_path
method set_sun_path : void ($path : string)
Sets sun_path
.
size
method size : int ()
The size of struct sockaddr_un
.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License