Socket option constants to set IrDA specific connection modes, and
get/set IrDA specific features.
| C# | Visual Basic |
public static class IrDASocketOptionName
Public NotInheritable Class IrDASocketOptionName
| All Members | Fields | ||||
| Icon | Member | Description |
|---|---|---|
| EnumDevice |
Gets the list of discovered devices.
Is used internally by IrDAClient.DiscoverDevices.
| |
| ExclusiveMode |
Restricts the link to one application-level (IrLMP) connection;
for use when low latency is required.
Returns an error on all tested platforms.
| |
| IasQuery |
Queries an entry in the peer's IAS (Information Access Service) database.
| |
| IasSet |
Sets an entry in the local IAS (Information Access Service) database.
| |
| IrLptMode |
Sets IrLMP mode, disabling TinyTP. Used for instance when
printing with IrLPT.
| |
| NineWireMode |
Sets IrCOMM 9-Wire/Cooked mode. Used for instance when connecting
to the modem in a mobile phone (service name IrDA:IrCOMM).
| |
| SendPduLength |
Retrieve the maximum send size when using IrLMP directly
(IrLptMode).
IrLMP requires sent data to fit in one frame.
| |
| SharpMode |
Reportedly sets non-IrDA Sharp ASK mode on the Windows CE
platform. Presence unverified.
|
Socket option constants to set IrDA specific connection modes, and
get/set IrDA specific features:
for instance to set IrLMP mode, or get the maximum send size. Pass
to GetSocketOption()()() and
SetSocketOption()()(),
along with optionLevel IrDASocketOptionLevel.IrLmp;
see the examples below.
New in v1.5.51015
For instance, where cli is an instance of IrDAClient.
In VB.NET, to set IrLMP mode (IrLptMode).cli.Client.SetSocketOption(IrDASocketOptionLevel.Irlmp, _ IrDASocketOptionName.IrLptMode, _ 1) 'representing true; can use True itself in FXv2.
int maxSendSize = (int)cli.Client.GetSocketOption( IrDASocketOptionLevel.Irlmp, IrDASocketOptionName.SendPduLength);
| Object | |
| IrDASocketOptionName | |