|
NAMEkrb5_getportbyname —
get port number by name
LIBRARYKerberos 5 Library (libkrb5, -lkrb5)SYNOPSIS#include <krb5.h>
int
DESCRIPTIONkrb5_getportbyname () gets the port number for
service / proto pair from the
global service table for and returns it in network order. If it isn't found in
the global table, the default_port (given in host order)
is returned.
EXAMPLEint port = krb5_getportbyname(context, "kerberos", "tcp", 88); SEE ALSOkrb5(3)
Visit the GSP FreeBSD Man Page Interface. |