bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passfd on more platforms


From: Eric Blake
Subject: Re: passfd on more platforms
Date: Mon, 14 Mar 2011 11:39:07 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 03/14/2011 11:37 AM, Bastien ROUCARIES wrote:
> On Mon, Mar 14, 2011 at 6:29 PM, Paolo Bonzini <address@hidden> wrote:
>> On Mon, Mar 14, 2011 at 17:10, Bastien ROUCARIES
>> <address@hidden> wrote:
>>> On Mon, Mar 14, 2011 at 5:05 PM, Paolo Bonzini <address@hidden> wrote:
>>>> On 03/14/2011 05:03 PM, Bastien ROUCARIES wrote:
>>>>>
>>>>> Not sure BTW it will be really simple:
>>>>> - send as oob data if fail with WSAEOPNOTSUPP come back to normal send
>>>>
>>>> But it will _always_ fail if people are using sendfd/recvfd as we (should)
>>>> document it, i.e. on SOCK_DGRAM sockets!
>>>
>>> Yes and if it fail we will fall back to the normal send, so no fail
>>
>> So why try in the first place?!?
> 
> In order to have a working solution for SOCK_STREAM

I'm confused.

If we document that sendfd/recvfd only work for SOCK_DGRAM, then why do
you want to support SOCK_STREAM?  That is, if we are going to document
the limitation, then why are you talking about working around the
limitation?

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]