ncacn_ip_tcp

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

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.

 

Example

[   uuid(12345678-4000-2006-0000-20000000001a),

    version(1.1),

    endpoint("ncacn_ip_tcp:rainier[1404]")

] interface foo

 

endpoint("ncacn_ip_tcp:128.10.2.30[1404]")

 

Remarks

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

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 during compilation.

See Also

endpoint, IDL, ncacn_nb_tcp, ncacn_np, ncacn_spx, ncalrpc, string_binding