Name
SPVM::Sys::Socket::In6_addr - struct in6_addr in the C language
Usage
use Sys::Socket::In6_addr;
Description
Sys::Socket::In6_addr
is the class for the struct in6_addr
in the C language.
This is a pointer class.
Class Methods
new
static method new : Sys::Socket::In6_addr ();
Instance Methods
DESTROY
method DESTROY : void ();
s6_addr
method s6_addr : string ();
Gets s6_addr
. Its value is copied and a new string is created.
set_s6_addr
method set_s6_addr : void ($address : string);
Sets s6_addr
.
The address must be defined. Otherwise an exception will be thrown.
The length of the address must be less than or equal to 16. Otherwise an exception will be thrown.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License