SPVM::Sys::Socket::Sockaddr::In6 - struct sockaddr_in6 in C language
use Sys::Socket::Sockaddr::In6;
Sys::Socket::Sockaddr::In6 is the class for the struct sockaddr_in6 in C language.
Sys::Socket::Sockaddr::In6
struct sockaddr_in6
C language
This is a pointer class.
This class inherits Sys::Socket::Sockaddr.
static method new : Sys::Socket::Sockaddr::In6 ();
Create a new Sys::Socket::Sockaddr::In6 object.
method DESTROY : void ()
The destructor.
method sa_family : int ()
Gets sa_family. This is the overriden method of the sa_family method in the Sys::Socket::Sockaddr class.
sa_family
method sin6_family : int ();
Gets sin6_family.
sin6_family
method set_sin6_family : void ($family : int)
Sets sin6_family.
method sin6_flowinfo : int ()
Gets sin6_flowinfo.
sin6_flowinfo
method set_sin6_flowinfo : void ($flowinfo : int)
Sets sin6_flowinfo.
method sin6_scope_id : int ();
Gets sin6_scope_id.
sin6_scope_id
method set_sin6_scope_id : void ($scope_id : int)
Sets sin6_scope_id.
method copy_sin6_addr : Sys::Socket::In6_addr ();
Copies sin6_addr. This is a Sys::Socket::In6_addr object.
sin6_addr
method set_sin6_addr : void ($address : Sys::Socket::In6_addr);
Sets sin6_addr. This is a Sys::Socket::In6_addr object.
method sin6_port : int ();
Gets sin6_port.
sin6_port
method set_sin6_port : void ($port : int);
Sets sin6_port.
method sizeof : int ()
The size of struct sockaddr_in6.
method clone : Sys::Socket::Sockaddr::In6 ();
Clones this object.
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.
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.