Waits for the designated IrDA listener to accept an IrDA network connection.

You can communicate with only one computer at a time. Use the IrDA Create Listener function to create the listener ID.


icon

Inputs/Outputs

  • cgnrn.png listener ID in

    listener ID in is an IrDA connection refnum that uniquely identifies the IrDA listener.

  • ci32.png timeout ms (wait forever: -1)

    timeout ms specifies the time, in milliseconds, that the function waits for a connection. If a connection is not established in the specified time, the function returns an error. The default value is –1, which indicates to wait indefinitely.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ignrn.png listener ID out

    listener ID out has the same value as listener ID in. Use this value to refer to the listener in subsequent calls to this function.

  • istr.png remote LSAP-SEL

    remote LSAP-SEL is the selector number the remote IrDA device uses for the IrDA connection.

  • iu32.png remote device ID

    remote device ID is the ID of the remote IrDA device.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • ignrn.png connection ID

    connection ID out is the IrDA connection refnum that uniquely identifies the IrDA connection. Use this value to refer to this connection in subsequent IrDA function calls. connection ID out always has the same value as connection ID.