How to create an APR::SockAddr object

Jacques Deguest <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Organization DEGUEST Pte. Ltd.
Message-ID <[email protected]>
Hello,

I know that we can get an APR::SockAddr object from $c->remote_addr for
example, and in turn, it can be conveniently used in conjonction with
APR::IpSubnet to check if that ip is part of a subnet.
What I would like to do is create an APR::SockAddr object directly, but
I could not find how to do so.
I would appreciate any guidance on this.

Kind regards,
Jacques Deguest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.