Closed
Description
In C, you use recvmsg() to get the incoming interface. It's a bit complicated for differences between unix and linux. Not sure about Windows. Sample C code is in this gist:
https://gist.github.com/pusateri/58d4ea943cfbfb7e2b3af955293227fe
recvfrom() won't give you the incoming interface, just the source address.
Metadata
Metadata
Assignees
Labels
No labels