Name
SPVM::Sys::Socket::Ip_mreq - struct ip_mreq in the C language
Description
Sys::Socket::In_addr class in SPVM represents struct ip_mreq in the C language.
Usage
use Sys::Socket::Ip_mreq;
Details
This class is a pointer class. The pointer the instance has is set to a struct ip_mreq object.
struct ip_mreq
is the old format of struct ip_mreqn
.
Class Methods
new
static method new : Sys::Socket::Ip_mreq ();
Create a new Sys::Socket::Ip_mreq object.
Instance Methods
DESTROY
method DESTROY : void ();
The destructor.
imr_multiaddr
method imr_multiaddr : Sys::Socket::In_addr ();
Copies imr_multiaddr
and returns it.
set_imr_multiaddr
method set_imr_multiaddr : void ($address : Sys::Socket::In_addr);
Sets imr_multiaddr
.
imr_interface
method imr_interface : Sys::Socket::In_addr ();
Copies imr_interface
and returns it.
set_imr_interface
method set_imr_interface : void ($interface : Sys::Socket::In_addr);
Sets imr_interface
.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License