Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Option | Get | Set | Optval type | Description |
---|---|---|---|---|
IRLMP_DISCOVERY_MODE | ||||
IRLMP_ENUMDEVICES | yes | DEVICELIST | Returns a list of IrDA device IDs for IR capable devices within range. | |
IRLMP_EXCLUSIVE_MODE | DWORD (boolean) | Sets socket to bypass TinyTP layer to directly communicate with IrLMP. | ||
IRLMP_IAS_QUERY | yes | IAS_QUERY | Queries IAS on a given service and class name for its attributes. | |
IRLMP_IAS_SET | yes | IAS_SET | Sets an attribute value for a given class name and attribute into IAS. | |
IRLMP_IRLPT_MODE | yes | DWORD (boolean) | Enables communication with IR capable printers. | |
IRLMP_PARAMETERS | ||||
IRLMP_SEND_PDU_LEN | yes | DWORD | Retrieves the maximum PDU length required to use IRLMP_9WIRE_MODE. | |
IRLMP_SHARP_MODE | yes | |||
IRLMP_TINYTP_MODE | yes | |||
IRLMP_9WIRE_MODE | yes | yes | DWORD (boolean) | Puts the IrDA socket into IrCOMM mode. |
Option | Windows 7 | Windows Server 2008 | Windows Vista | Windows Server 2003 | Windows XP | Windows 2000 | Windows Me, Windows 98 | Windows NT 4.0 |
---|---|---|---|---|---|---|---|---|
IRLMP_DISCOVERY_MODE |
yes | |||||||
IRLMP_ENUMDEVICES yes yes yes yes yes yes yes |
||||||||
IRLMP_EXCLUSIVE_MODE |
||||||||
IRLMP_IAS_QUERY yes yes yes yes yes yes yes |
||||||||
IRLMP_IAS_SET yes yes yes yes yes yes yes |
||||||||
IRLMP_IRLPT_MODE yes yes yes yes yes yes |
||||||||
IRLMP_PARAMETERS |
yes | |||||||
IRLMP_SEND_PDU_LEN yes yes yes yes yes yes |
||||||||
IRLMP_SHARP_MODE |
||||||||
IRLMP_TINYTP_MODE |
yes | |||||||
IRLMP_9WIRE_MODE yes yes yes yes yes yes |
The SOL_IRLMP socket options and the structures used by these socket options are defined in the Af_irda.h header file.
Requirement | Value |
---|---|
Header |
|
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today