Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2009 16:08:32 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Maslan <maslanbsd@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: sosend() and mbuf
Message-ID:  <864ospvvkv.fsf@ds4.des.no>
In-Reply-To: <319cceca0908030119i3432a495ya60aa431dab0e1b1@mail.gmail.com> (Maslan's message of "Mon, 3 Aug 2009 08:19:26 %2B0000")
References:  <319cceca0908030119i3432a495ya60aa431dab0e1b1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Maslan <maslanbsd@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864ospvvkv.fsf>