You might need some sort of direct hardware access to do that because it isn't a typical serial signal. I really don't know where to start, though.
IrDA can also receive IR signals, so maybe you could "record" remote control codes and play them back.
IrDA can also receive IR signals, so maybe you could "record" remote control codes and play them back.