EI 3017 then EI 3228 at Dublin
Castletown → Dublin → Glasgow
Timetable, Dublin time
16:20EI 3017 from Castletown at the gate
15:25EI 3228 to Glasgow leaves the gate
23 h 05 apart on the timetable, overnight
EI 3228 leaves 23 h 05 after EI 3017 arrives on the timetable: more than half a day, so not a connection we count.