sockaddr_irda

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 getsockopt function 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-SELXXX" where XXX is a decimal integer in the range 1-127, the address indicates a specific LSAP-SELXXX rather 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.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.