Previous section.

Networking Services (XNS) Issue 5
Copyright © 1997 The Open Group

NAME

getservbyport, getservbyname, getservent - network services database functions

SYNOPSIS

#include <netdb.h>

struct servent *getservbyname(const char *name, const char *proto);

struct servent *getservbyport(int port, const char *proto);

struct servent *getservent(void);

DESCRIPTION

Refer to endservent().

CHANGE HISTORY

First released in Issue 4.

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index