There are a number of IrDA specific asynchronous requests that can be made via the Ioctl service provided by the sockets API. For instance, in order to make a particular connection an exclusive MUX connection, it is necessary to construct, queue and send a MUX Access mode request frame from the host station and wait for the corresponding access mode confirm frame from the remote machine before completing the Ioctl request. Only one Ioctl per thread may be active at any one time. The Option call service is used for IrDA specific synchronous requests.
RSocket
provides the following functions to support these requests: