FR 5150 then FR 5416 at Dublin
Glasgow → Dublin → Wroclaw
Timetable, Dublin time
23:40FR 5150 from Glasgow at the gate
15:50FR 5416 to Wroclaw leaves the gate
16 h 10 apart on the timetable, overnight
FR 5416 leaves 16 h 10 after FR 5150 arrives on the timetable: more than half a day, so not a connection we count.