Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 10:26:10 +0200
From:      Victor Balada Diaz <victor@bsdes.net>
To:        Sushanth Rai <sushanth_rai@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Support for zero copy sockets
Message-ID:  <20140811082610.GF7828@equilibrium.bsdes.net>
In-Reply-To: <1407171616.44440.YahooMailBasic@web181702.mail.ne1.yahoo.com>
References:  <1407171616.44440.YahooMailBasic@web181702.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 04, 2014 at 10:00:16AM -0700, Sushanth Rai via freebsd-hackers wrote:
> Hello,
> 
> FreeBSD 10 release sources doesn't seem to have zero copy socket code anymore. What's is alternative to do zero_copy ?
> 
> Thanks,
> Sushanth

You need to use sendfile(2). In the man page is stated that the implementation in FreeBSD
is zero copy.

You can also check:

http://svnweb.freebsd.org/base?view=revision&revision=255608

-- 
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 



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