bug-gnulib
[Top][All Lists]
Advanced

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

Re: passfd on more platforms


From: Bastien ROUCARIES
Subject: Re: passfd on more platforms
Date: Mon, 14 Mar 2011 18:40:42 +0100

On Mon, Mar 14, 2011 at 6:39 PM, Eric Blake <address@hidden> wrote:
> 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?

It is easy to have a workable send/recvfd with SOCK_STREAM under unix
(except the close problem), so I will implement under windows for
SOCK_STREAM

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



reply via email to

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