Name

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

Description

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.

Super Class

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