sosend() and mbuf

Dag-Erling Smørgrav des at des.no
Mon Aug 3 14:08:34 UTC 2009


Maslan <maslanbsd at gmail.com> writes:
> I can't find useful information on sosend(), I would like to send some
> plain text through sosend()
> Here is what i got so far, I don't know how to use mbuf with sosend()
> to achieve this.

You need to stick your "plain text" in an mbuf.  See 'man 9 socket' and
'man 9 mbuf' for details.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list