Name
SPVM::Sys::Socket::Sockaddr::Storage - struct sockaddr_storage in C language
Usage
use Sys::Socket::Sockaddr::Storage;
Description
Sys::Socket::Sockaddr::Storage
is the class for the struct sockaddr_storage
in C language
.
This is a pointer class.
Inheritance
This class inherits Sys::Socket::Sockaddr.
Class Methods
new
static method new : Sys::Socket::Sockaddr::Storage ();
Create a new Sys::Socket::Sockaddr::Storage
object.
Instance Methods
DESTROY
method DESTROY : void ()
The destructor.
sa_family
method sa_family : byte ()
Gets sa_family
. This is the overriden method of the sa_family method in the Sys::Socket::Sockaddr class.
ss_family
method ss_family : int ()
Gets ss_family
.
set_ss_family
method set_ss_family : void ($family : byte)
Sets ss_family
.
sizeof
method sizeof : int ()
The size of struct sockaddr_storage
.
Copyright & License
Copyright 2022-2022 Yuki Kimoto, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.