Name

SPVM::IO::Socket::IP::Import::IPv6 - IPv6 Information

Description

The IO::Socket::IP::Import::IPv6 class in SPVM has methods to get IPv6 information.

Usage

use IO::Socket::IP::Import::IPv6;

Interface Methods

sockname

method sockname : Sys::Socket::Sockaddr ();

An interface method to return the information containing the local address and port.

sockaddr

method sockaddr : Sys::Socket::In_addr_base ();

An interface method with a default implementation to return the local address.

The local address is a Sys::Socket::In6_addr object.

sockhost

method sockhost : string ();

An interface method with a default implementation to return the local host name.

sockport

method sockport : int ();

An interface method with a default implementation to return the local port.

peername

method peername : Sys::Socket::Sockaddr ();

An interface method to return the information containing the remote address and port.

peeraddr

method peeraddr : Sys::Socket::In_addr_base ();

An interface method with a default implementation to return the remote address.

The remote address is a Sys::Socket::In6_addr object.

peerhost

method peerhost : string ();

An interface method with a default implementation to return the remote host name.

peerport

method peerport : int ();

An interface method with a default implementation to return the remote port.

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License