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


Manual Reference Pages  -  KRB5_GETPORTBYNAME (3)

NAME

krb5_getportbyname - get port number by name

CONTENTS

Library
Synopsis
Description
Example
See Also

LIBRARY

Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS


.In krb5.h int
.Fo krb5_getportbyname krb5_context context const char *service const char *proto int default_port
.Fc

DESCRIPTION

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.

EXAMPLE

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

SEE ALSO

krb5(3)
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 manServer 1.07.