Sample Header Ad - 728x90

Getting ancillary data of a packet after recv() call

0 votes
1 answer
44 views
Is there a way to get
msghdr
or ancillary data of it for the last received packet, *i.e.* after the recv() call? My guess is that
()
is the only way to populate
, but probably there is a hack on how to get ancillary data independently of
.
Asked by Alex (1 rep)
Jun 27, 2025, 10:33 AM
Last activity: Jun 27, 2025, 11:07 AM