Name

SPVM::Sys::Socket::Sockaddr - struct sockaddr in C language

Usage

use Sys::Socket::Sockaddr;

Description

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

This is a pointer class.

Interfaces

Sys::Socket::Sockaddr::Interface
Cloneable

Instance Methods

has_interfaces

required method has_interfaces : int ();

Retruns 1.

sa_family

method sa_family : byte ()

Gets sa_family.

sizeof

method sizeof : int ()

The size of the structure internally used.

clone

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

Clones this object.

Well Known Child Classes

Sys::Socket::Sockaddr::In
Sys::Socket::Sockaddr::In6
Sys::Socket::Sockaddr::Un
Sys::Socket::Sockaddr::Storage

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.