bug-gnulib
[Top][All Lists]
Advanced

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

Re: RFC socketpair


From: Paolo Bonzini
Subject: Re: RFC socketpair
Date: Mon, 02 May 2011 15:52:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

On 05/01/2011 04:29 PM, Bastien ROUCARIES wrote:
Did you test if dup2 work for socket ?

According tohttp://www.suacommunity.com/dictionary/dup-entry.php
andhttp://blog.csdn.net/linlu11/archive/2008/06/06/2518571.aspx  it
will need more work.

dup2 indeed may not work for a socket on Windows. It would work on Wine, since WSADuplicateSocket is just doing DuplicateHandle on Wine, but I don't know what Windows actually does.

That's definitely something to remember, thanks for pointing it out.

Paolo



reply via email to

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