FreeBSD Manual Pages
IPADDR_SETPORT(3) libdill Library Functions IPADDR_SETPORT(3) NAME ipaddr_setport - changes port number of the address SYNOPSIS #include <libdill.h> void ipaddr_setport( const struct ipaddr* addr); DESCRIPTION Changes port number of the address. addr: IP address object. This function is not available if libdill is compiled with --dis- able-sockets option. RETURN VALUE None. ERRORS None. EXAMPLE ipaddr_setport(&addr, 80); SEE ALSO ipaddr_equal(3) ipaddr_family(3) ipaddr_len(3) ipaddr_local(3) ipad- dr_port(3) ipaddr_remote(3) ipaddr_remotes(3) ipaddr_sockaddr(3) ipad- dr_str(3) libdill IPADDR_SETPORT(3)
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | EXAMPLE | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ipaddr_setport&sektion=3&manpath=FreeBSD+Ports+15.0>
