Name

SPVM::Sys::Socket::Sockaddr::Un - struct sockaddr_un in C language

Usage

use Sys::Socket::Sockaddr::Un;

Description

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

This is a pointer class.

Inheritance

This class inherits Sys::Socket::Sockaddr.

Class Methods

new

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

Instance Methods

DESTROY

method DESTROY : void ();

The destructor.

sa_family

method sa_family : byte ()

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

sun_family

method sun_family : byte ();

Gets sun_family.

set_sun_family

method set_sun_family : void ($family : byte)

Sets sun_family.

copy_sun_path

method copy_sun_path : string ();

Copies sun_path.

set_sun_path

method set_sun_path : void ($path : string)

Sets sun_path.

sizeof

method sizeof : int ()

The size of struct sockaddr_un.

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.