Name
SPVM::Sys::Socket::Ip_mreq_source - struct ip_mreq_source in the C language
Description
Sys::Socket::In_addr class in SPVM represents struct ip_mreq_source in the C language.
Usage
use Sys::Socket::Ip_mreq_source;
Details
This class is a pointer class. The pointer the instance has is set to a struct ip_mreq_source object.
Class Methods
new
static method new : Sys::Socket::Ip_mreq_source ();
Create a new Sys::Socket::Ip_mreq_source 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 ($address : Sys::Socket::In_addr);
Sets imr_interface
.
imr_sourceaddr
method imr_sourceaddr : Sys::Socket::In_addr ();
Copies imr_sourceaddr
and returns it.
set_imr_sourceaddr
method set_imr_sourceaddr : void ($address : Sys::Socket::In_addr);
Sets imr_sourceaddr
.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License