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