Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SOL_IRLMP Socket Options

The following table describes SOL_IRLMP socket options that apply to sockets created for the Infrared Data Association (IrDA) address family (AF_IRDA) and the InfraRed Link Management Protocol (IRLMP). See the getsockopt and setsockopt function reference pages for more information on getting and setting socket options.

To enumerate protocols and discover supported properties for each installed protocol, use the WSAEnumProtocols, WSCEnumProtocols, or WSCEnumProtocols32 function.

SOL_IRLMP Socket Options
OptionGetSetOptval typeDescription
IRLMP_DISCOVERY_MODE
IRLMP_ENUMDEVICESyesDEVICELISTReturns a list of IrDA device IDs for IR capable devices within range.
IRLMP_EXCLUSIVE_MODEDWORD (boolean)Sets socket to bypass TinyTP layer to directly communicate with IrLMP.
IRLMP_IAS_QUERYyesIAS_QUERYQueries IAS on a given service and class name for its attributes.
IRLMP_IAS_SETyesIAS_SETSets an attribute value for a given class name and attribute into IAS.
IRLMP_IRLPT_MODEyesDWORD (boolean)Enables communication with IR capable printers.
IRLMP_PARAMETERS
IRLMP_SEND_PDU_LENyesDWORDRetrieves the maximum PDU length required to use IRLMP_9WIRE_MODE.
IRLMP_SHARP_MODEyes
IRLMP_TINYTP_MODEyes
IRLMP_9WIRE_MODEyesyesDWORD (boolean)Puts the IrDA socket into IrCOMM mode.

 

Windows Support for SOL_IRLMP options
OptionWindows 7Windows Server 2008Windows VistaWindows Server 2003Windows XPWindows 2000Windows Me, Windows 98Windows NT 4.0

IRLMP_DISCOVERY_MODE

x

IRLMP_ENUMDEVICES

xxx x x x x

IRLMP_EXCLUSIVE_MODE

IRLMP_IAS_QUERY

xxxxxxx

IRLMP_IAS_SET

xxxxxxx

IRLMP_IRLPT_MODE

xxxxxx

IRLMP_PARAMETERS

x

IRLMP_SEND_PDU_LEN

xxxxxx

IRLMP_SHARP_MODE

IRLMP_TINYTP_MODE

x

IRLMP_9WIRE_MODE

xxxxxx

 

Remarks

The SOL_IRLMP socket options and the structures used by these socket options are defined in the Af_irda.h header file.

Requirements

Header

Af_irda.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.