[ee122] recvfrom()

Lisa Fowler fowler at eecs.berkeley.edu
Fri Nov 23 19:01:28 PST 2007

On Nov 23, 2007 6:22 PM, Davide Cerri <davide.cerri at gmail.com> wrote:
> Hello,
> sorry for the last post. I misunderstood recvfrom(). Recvfrom() takes
> a address structure where it writes the info about who sent the
> message. I thought that we would have to fill in that data ourselves.
> I hope i got it right this time.
> Also, does anybody understand the difference between recvfrom() and recvmsg()?

Here is some info about recvmsg, namely regarding its security.  It
might help in clarifying the differences between the two:


There's a lot of info in the manpage on recvfrom, recv, and recvmsg
regarding their features, but I think the above link has some
interesting stuff.


More information about the ee122 mailing list