Export (0) Print
Expand All
COM
id
in
int
odl
out
ptr
ref
Expand Minimize

ncadg_ip_udp attribute

The ncadg_ip_udp keyword identifies the datagram version of TCP/IP as the protocol family for the endpoint. This protocol family is obsolete and should not be used in new applications.


endpoint("ncadg_ip_udp: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 and may be a fully qualified domain name. 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 following restrictions apply to the datagram protocols, ncadg_ipx and ncadg_ip_udp:

  • They do not support callbacks. Any functions using the [callback] attribute will fail.
  • They do not support use of the pipe type constructor.

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("ncadg_ip_udp:rainier[1404]") 
]
interface iface1
{
    // Interface definition statements.
}

[
    uuid(87654321-4000-2006-0000-20000000001a), 
    version(1.1), 
    endpoint("ncadg_ip_udp:128.10.2.30[1404]") 
]
interface iface2
{
    // Interface definition statements.
}

See also

endpoint
Interface Definition (IDL) File
ncacn_at_dsp
ncacn_dnet_nsp
ncacn_ip_tcp
ncacn_nb_ipx
ncacn_spx
ncacn_nb_nb
ncacn_nb_tcp
ncacn_np
ncacn_vns_spp
ncalrpc
ncadg_ipx
String Binding

 

 

Community Additions

ADD
Show:
© 2014 Microsoft