Damjan Jovanovic schrieb:
 > the packet came from.
 I didn't find a corresponding implementation of recvmsg() for Windows.

You got it to return the IP_PKTINFO? From MSDN I gathered it isn't supported, but some googleing now clearly indicates that it is! I must have been really, really blind...
works on Windows?

Windows >= XP.
Nice! Sounds good.
Enjoy your holiday.
Joerg Henne