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

Retreieves service information that corresponds with the specified service name.

Parameters
pszName[ in ] A pointer to the ASCIIZ service name to lookup.
pszProto[ in ] An optional pointer to the NULL terminated, wide character 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 interface pointer.
Returns