| 1 | package SPVM::Sys::Socket::Ip_mreq_source; | ||
| 2 | |||
| 3 | 1; | ||
| 4 | |||
| 5 | =head1 Name | ||
| 6 | |||
| 7 | SPVM::Sys::Socket::Ip_mreq_source - struct ip_mreq_source in the C language | ||
| 8 | |||
| 9 | =head1 Description | ||
| 10 | |||
| 11 | Sys::Socket::In_addr class in L<SPVM> represents L<struct ip_mreq_source|https://linux.die.net/man/7/ip> in the C language. | ||
| 12 | |||
| 13 | =head1 Usage | ||
| 14 | |||
| 15 | use Sys::Socket::Ip_mreq_source; | ||
| 16 | |||
| 17 | =head1 Details | ||
| 18 | |||
| 19 | This class is a pointer class. The pointer the instance has is set to a L<struct ip_mreq_source|https://linux.die.net/man/7/ip> object. | ||
| 20 | |||
| 21 | =head1 Class Methods | ||
| 22 | |||
| 23 | =head2 new | ||
| 24 | |||
| 25 | C<static method new : L<Sys::Socket::Ip_mreq_source|SPVM::Sys::Socket::Ip_mreq_source> ();> | ||
| 26 | |||
| 27 | Create a new L<Sys::Socket::Ip_mreq_source|SPVM::Sys::Socket::Ip_mreq_source> object. | ||
| 28 | |||
| 29 | =head1 Instance Methods | ||
| 30 | |||
| 31 | =head2 DESTROY | ||
| 32 | |||
| 33 | C<method DESTROY : void ();> | ||
| 34 | |||
| 35 | The destructor. | ||
| 36 | |||
| 37 | =head2 imr_multiaddr | ||
| 38 | |||
| 39 | C<method imr_multiaddr : L<Sys::Socket::In_addr|SPVM::Sys::Socket::In_addr> ();> | ||
| 40 | |||
| 41 | Copies C<imr_multiaddr> and returns it. | ||
| 42 | |||
| 43 | =head2 set_imr_multiaddr | ||
| 44 | |||
| 45 | C<method set_imr_multiaddr : void ($address : L<Sys::Socket::In_addr|SPVM::Sys::Socket::In_addr>);> | ||
| 46 | |||
| 47 | Sets C<imr_multiaddr>. | ||
| 48 | |||
| 49 | =head2 imr_interface | ||
| 50 | |||
| 51 | C<method imr_interface : L<Sys::Socket::In_addr|SPVM::Sys::Socket::In_addr> ();> | ||
| 52 | |||
| 53 | Copies C<imr_interface> and returns it. | ||
| 54 | |||
| 55 | =head2 set_imr_interface | ||
| 56 | |||
| 57 | C<method set_imr_interface : void ($address : L<Sys::Socket::In_addr|SPVM::Sys::Socket::In_addr>);> | ||
| 58 | |||
| 59 | Sets C<imr_interface>. | ||
| 60 | |||
| 61 | =head2 imr_sourceaddr | ||
| 62 | |||
| 63 | C<method imr_sourceaddr : L<Sys::Socket::In_addr|SPVM::Sys::Socket::In_addr> ();> | ||
| 64 | |||
| 65 | Copies C<imr_sourceaddr> and returns it. | ||
| 66 | |||
| 67 | =head2 set_imr_sourceaddr | ||
| 68 | |||
| 69 | C<method set_imr_sourceaddr : void ($address : L<Sys::Socket::In_addr|SPVM::Sys::Socket::In_addr>);> | ||
| 70 | |||
| 71 | Sets C<imr_sourceaddr>. | ||
| 72 | |||
| 73 | =head1 See Also | ||
| 74 | |||
| 75 | =over 2 | ||
| 76 | |||
| 77 | =item * L<Sys|SPVM::Sys> | ||
| 78 | |||
| 79 | =back | ||
| 80 | |||
| 81 | =head1 Copyright & License | ||
| 82 | |||
| 83 | Copyright (c) 2023 Yuki Kimoto | ||
| 84 | |||
| 85 | MIT License | ||
| 86 |