Name
SPVM::Sys::Socket::Addrinfo - struct addrinfo in C language
Usage
use Sys::Socket::Addrinfo;
Description
Sys::Socket::Addrinfo
is the class for the struct addrinfo
in C language
.
This is a pointer class.
Class Methods
new
method new : Sys::Socket::Addrinfo ();
Create a new Sys::Socket::Addrinfo object.
Instance Methods
DESTROY
method DESTROY : void ();
The destructor.
ai_flags
method ai_flags : int ();
Gets ai_flags
.
set_ai_flags
method set_ai_flags : void ($ai_flags : int);
Sets ai_flags
.
ai_family
method ai_family : int ();
Gets ai_family
.
set_ai_family
method set_ai_family : void ($ai_family : int);
Sets ai_family
.
ai_socktype
method ai_socktype : int ();
Gets ai_socktype
.
set_ai_socktype
method set_ai_socktype : void ($ai_socktype : int);
Sets ai_socktype
.
ai_protocol
method ai_protocol : int ();
Gets ai_protocol
.
set_ai_protocol
method set_ai_protocol : void ($ai_protocol : int);
Sets ai_protocol
.
ai_addr
method ai_addr : Sys::Socket::Sockaddr ();
Copies ai_addr
.
ai_canonname
method ai_canonname : string ();
Copies ai_canonname
.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License