SPVM::Sys::Socket::Ip_mreq - struct ip_mreq in the C language
The Sys::Socket::In_addr class in SPVM represents struct ip_mreq in the C language.
use Sys::Socket::Ip_mreq;
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.
struct ip_mreq
struct ip_mreqn
static method new : Sys::Socket::Ip_mreq ();
Create a new Sys::Socket::Ip_mreq object.
method DESTROY : void ();
The destructor.
method imr_multiaddr : Sys::Socket::In_addr ();
Copies imr_multiaddr and returns it.
imr_multiaddr
method set_imr_multiaddr : void ($address : Sys::Socket::In_addr);
Sets imr_multiaddr.
method imr_interface : Sys::Socket::In_addr ();
Copies imr_interface and returns it.
imr_interface
method set_imr_interface : void ($interface : Sys::Socket::In_addr);
Sets imr_interface.
Copyright (c) 2023 Yuki Kimoto
MIT License
To install SPVM::Sys, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM::Sys
CPAN shell
perl -MCPAN -e shell install SPVM::Sys
For more information on module installation, please visit the detailed CPAN module installation guide.