EI 991 then EI 3258 at Dublin
Rome → Dublin → Edinburgh
Timetable, Dublin time
02:00EI 991 from Rome at the gate
18:55EI 3258 to Edinburgh leaves the gate
16 h 55 apart on the timetable
EI 3258 leaves 16 h 55 after EI 991 arrives on the timetable: more than half a day, so not a connection we count.