IrCOMM and IrLAN work in both modes, but currently I don't have further information about the differences between these modes and how to set them up. Also currently the IrLAN protocol is no longer maintained by the Linux/IrDA core team.