The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

SPVM::Sys::Socket::In6_addr - struct in6_addr in C language

Usage

  use Sys::Socket::In6_addr;

Description

Sys::Socket::In6_addr is the class for the struct in6_addr in 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 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.