Name

SPVM::Sys::Socket::Ip_mreq - struct ip_mreq in the C language

Usage

use Sys::Socket::Ip_mreq;

Description

Sys::Socket::In_addr is the class for the struct ip_mreq in the C language.

This is a pointer class.

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 ();

Get imr_multiaddr. This is a Sys::Socket::In_addr object.

set_imr_multiaddr

method set_imr_multiaddr : void ($address : Sys::Socket::In_addr);

Set imr_multiaddr. This is a Sys::Socket::In_addr object.

imr_interface

method imr_interface : Sys::Socket::In_addr ();

Get imr_interface. This is a Sys::Socket::In_addr object.

set_imr_interface

method set_imr_interface : void ($interface : Sys::Socket::In_addr);

Set imr_interface. This is a Sys::Socket::In_addr object.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License