Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ncacn_ip_tcp
id
in
int
odl
out
ptr
ref
Collapse the table of content
Expand the table of content

ncacn_ip_tcp attribute

The ncacn_ip_tcp keyword identifies TCP/IP as the protocol family for the endpoint.


endpoint("ncacn_ip_tcp:server-name[port-name]")

Parameters

server-name

Specifies the name or Internet address for the server, or host, computer. The name is a character string. The Internet address is a common Internet address notation.

port-name

Specifies an optional 16-bit number. Values of less than 1024 are usually reserved. If no value is specified, the endpoint-mapping service selects a valid port-name value.

Remarks

The syntax of the TCP/IP transport port string, like all port strings, is defined independently of the IDL specification. The compiler performs some syntax checking but does not guarantee that the endpoint specification is correct. Some errors may be reported at run time rather than at compile time.

Examples

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

 
endpoint("ncacn_ip_tcp:128.10.2.30[1404]")

See also

endpoint
Interface Definition (IDL) File
ncacn_nb_tcp
ncacn_np
ncacn_spx
ncalrpc
string binding

 

 

Community Additions

ADD
Show:
© 2015 Microsoft