ncacn_nb_tcp attribute

The ncacn_nb_tcp keyword is used to identify TCP over NetBIOS as the protocol family for the endpoint. This protocol family is obsolete and should not be used in new applications.

endpoint("ncacn_nb_tcp:[port-name]")

Parameters

port-name

Specifies an optional 8-bit value ranging from 1 to 254. Values of less than 0x20 are reserved. If the port-name value is not specified, the endpoint-mapping service selects the port value.

Remarks

The syntax of the NetBIOS port string, like all port strings, is defined by the transport implementation and is independent of the IDL specification. The MIDL compiler performs limited syntax checking but does not guarantee that the endpoint specification is correct. Some classes of errors may be reported at run time rather than at compile time.

Note

This protocol family is not supported in WindowsĂ‚ XP.

 

Examples

[
    uuid(12345678-4000-2006-0000-20000000001a), 
    version(1.1), 
    endpoint("ncacn_nb_tcp:[100]") 
] 
interface iface
{
    // Interface definition statements.
}

See also

endpoint

Interface Definition (IDL) File

ncacn_ip_tcp

ncacn_nb_nb

ncacn_np

ncacn_spx

ncalrpc

string binding