SOCKADDR_IRDA structure (af_irda.h)
The SOCKADDR_IRDA structure is used in conjunction with IrDA socket operations, defined by address family AF_IRDA.
typedef struct _SOCKADDR_IRDA {
u_short irdaAddressFamily;
u_char irdaDeviceID[4];
char irdaServiceName[25];
} SOCKADDR_IRDA, *PSOCKADDR_IRDA, *LPSOCKADDR_IRDA;
irdaAddressFamily
Address family. This member is always AF_IRDA.
irdaDeviceID[4]
Device identifier (ID) of the IrDA device to which the client wants to issue the connect function call. Ignored by server applications.
irdaServiceName[25]
Well-known service name associated with a server application. Specified by servers during their bind function call.
Client applications make use of each field in the SOCKADDR_IRDA structure. The irdaDeviceID member is obtained by a previous discovery operation performed by making a getsockopt(IRLMP_ENUMDEVICES) function call. For more information on performing a discovery operation, see the Notes for IrDA Sockets section in the Remarks section of getsockopt.
The irdaServiceName member is filled with the well-known value that the server application specified in its bind function call.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | af_irda.h |