Microsoft Windows CE 3.0  

sockaddr_irda

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This structure specifies an IrSocket address.

struct sockaddr_irda {
u_short
irdaAddressFamily
;
u_char
irdaDeviceID[4]
;
char
irdaServiceName[25]
;};

Members

irdaAddressFamily
Value for the address format member is AF_IRDA from the AF_IRDA.H header file.
irdaDeviceID
Device identifier returned by the SO_IRLMP_ENUMDEVICES option used in a getsockoptfunction call.
irdaServiceName
Null-terminated string of 25 characters that contains the service name of the application associated with this socket address. If the name is 25 characters or the string is not null-terminated, the connection fails. If the service name is of the form "LSAP-SEL XXX" where XXXis a decimal integer in the range 1-127, the address indicates a specific LSAP-SEL XXXrather than a service name.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Winsock.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.