1211
How TCP and UDP packets come to the world
(lemmy.one)
Post funny things about programming here! (Or just rant about your favourite programming language.)
You'd have to be somewhere in the route from A to B to intercept it. But TCP is no different in that regard.
TCP is connection based so both sides need to agree to connect before data is exchanged. UDP is connectionless, so it will send data from A to B (and vice versa) regardless of if the other side is available.