Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6INetdb::getServByPort ( P6UINT16  nPort,
const P6CHAR pszProto,
p6IServent **  ppEnt 
)
pure virtual

Retreieves service information that corresponds with the specified service port.

Parameters
nPort[ in ] The service port to lookup in network byte order.
pszProto[ in ] An optional pointer to the ASCIIZ protocol name to use in the lookup. This can be NULL which will cause the first matching record to be returned in most cases.
ppEnt[ out ] The address of a variable that will receive the p6IServent inetface pointer.
Returns