.\" File automatically generated by doxy2man0.3 .\" Generation date: Wed Aug 19 2026 .TH rc_getport 3 2026-08-19 "radcli" "Radius client library" .SH "NAME" rc_getport \- Get the port number for the supplied request type. .SH SYNOPSIS .nf .B #include .sp \fBunsigned short rc_getport\fP( \fBint \fP\fItype\fP ); .fi .SH DESCRIPTION .SH PARAMETERS .TP .B type AUTH or ACCT. .SH RETURN VALUE .PP the port number. .SH SEE ALSO .PP .nh .ad l \fIrc_get_srcaddr\fP(3), \fIrc_openlog\fP(3), \fIrc_own_hostname\fP(3), \fIrc_setdebug\fP(3) .ad .hy