bug-cvs
[Top][All Lists]
Advanced

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

Re: mingw32 and sockets


From: Derek Price
Subject: Re: mingw32 and sockets
Date: Tue, 27 Sep 2005 15:30:39 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Conrad T. Pino wrote:

>I suggest avoiding "wnt_select" in favor of either "wnt_fd_select" or
>"woe32_fd_select" instead.
>  
>

I prefer woe32_fd_select, but you're writing it and I'm not that picky.  :)

>Wrapping the Windows Socket API to integrate sockets into the CRT number
>space might work but I have no idea just how much wrapping must be done.
>  
>

Once you try to merge the socket and fd namespace on Windows, the whole
point is that you have to provide implementations for *every* POSIX
function that accesses an fd (every function you wish to use anyhow)
that knows how to do the switching between the Windows socket and fd API.

It seems much simpler to use the socket_* access variants just for
sockets, at least when we are talking about writing all the code.  If
someone else wrote this POSIX layer for Windows, I would be happy to use
it to simplify my code, barring other problems.  :)

Regards,

Derek

-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:derek@ximbiot.com>






reply via email to

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