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

Retreieves service information that corresponds with the specified service port.

This is the wide character version of the getServByPort() method.

Parameters
nPort[ in ] The service port to lookup in network byte order.
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 inetface pointer.
Returns