The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Sys::Socket::In_addr - struct in_addr in the C language

Description

The Sys::Socket::In_addr class in SPVM represents struct in_addr in the C language.

Usage

  use Sys::Socket::In_addr;

Details

This class is a pointer class. The pointer the instance has is set to a struct in_addr object.

Inheritance

Sys::Socket::In_addr_base

Class Methods

new

static method new : Sys::Socket::In_addr ();

Creates a new Sys::Socket::In_addr object.

Instance Methods

DESTROY

method DESTROY : void ();

The destructor.

s_addr

method s_addr : int ();

Returns s_addr.

set_s_addr

method set_s_addr : void ($s_addr : int)

Sets s_addr.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License