I need to reverse the order of recvfrom() (userspace) command (turning the packet queue to a stack or something like that)
meaning: if i'll will sendto("A") sendto("B") sendto("C")
and then recvfrom() three times i'll get: C B A. :eek:
(instead of A B C like i would get normally)
I tried to find the relevant queue but no luck there,
can anyone please redirect me to it, or give me a hint on how to do it?
thanks a lot