Name

SPVM::Sys::Socket::Sockaddr::In6 - struct sockaddr_in6 in C language

Usage

use Sys::Socket::Sockaddr::In6;

Description

Sys::Socket::Sockaddr::In6 is the class for the struct sockaddr_in6 in C language.

This is a pointer class.

Inheritance

This class inherits Sys::Socket::Sockaddr.

Class Methods

new

static method new : Sys::Socket::Sockaddr::In6 ();

Create a new Sys::Socket::Sockaddr::In6 object.

Instance Methods

DESTROY

method DESTROY : void ();

The destructor.

sa_family

method sa_family : int ()s

Get sa_family. This is the overriden method of the sa_family method in the Sys::Socket::Sockaddr class.

sin6_family

method sin6_family : int ();

Get sin6_family.

set_sin6_family

method set_sin6_family : void ();

Set sin6_family.

sin6_flowinfo

method sin6_flowinfo : int ();

set_sin6_flowinfo

method set_sin6_flowinfo : void ();

sin6_scope_id

method sin6_scope_id : int ();

set_sin6_scope_id

method set_sin6_scope_id : void ();

sin6_addr

method sin6_addr : Sys::Socket::In6_addr ();

Get sin6_addr. This is a Sys::Socket::In6_addr object.

set_sin6_addr

method set_sin6_addr : void ($address : Sys::Socket::In6_addr);

Set sin6_addr. This is a Sys::Socket::In6_addr object.

sin6_port

method sin6_port : short ();

Get sin6_port.

set_sin6_port

method set_sin6_port : void ($port : short);

Set sin6_port.

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.