GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NAME(3) FreeBSD Library Functions Manual NAME(3)

krb5_getportbyname
get port number by name

Kerberos 5 Library (libkrb5, -lkrb5)

#include <krb5.h>

int
krb5_getportbyname(krb5_context context, const char *service, const char *proto, int default_port);

krb5_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.

int port = krb5_getportbyname(context, "kerberos", "tcp", 88);

krb5(3)
August 15, 2004 HEIMDAL

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.