On Fri, Oct 2, 2009 at 2:26 PM, Ben Laurie <[email protected]> wrote:
> zygote_host_linux.cc creates a socketpair using SOCK_SEQPACKET rather
> than the more usual SOCK_STREAM? Before I trawl through code, does
> anyone know why? This is a problem for the FreeBSD port: FreeBSD
> doesn't support SOCK_SEQPACKET for unix domain sockets...

SOCK_STREAM certainly won't work, but SOCK_DGRAM should be fine.

There was some concern that a renderer could use sendto on a
SOCK_DGRAM to direct packets to other destinations. However, when
created with socketpair, this isn't an issue as I recall.


AGL

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to