[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Windows & POSIX
From: |
Conrad T. Pino |
Subject: |
RE: Windows & POSIX |
Date: |
Mon, 21 Feb 2005 19:34:29 -0800 |
Hi Derek,
My Visual C++ 6.0 installation has source for the
C Run Time library. File handles returned by
"open" and "create" are NOT Windows API level
file handles. They are an index into arrays of
an internal library structure which contains a
field for saving the Windows API level file handle.
The Windows Socket API says socket handles MAY be
used as Windows API level file handles:
http://msdn.microsoft.com/library/en-us/winsock/winsock/socket_handles_2.asp
Not as definite as I would prefer.
To assure POSIX semantics it seems we need to insure
file and socket handles exist in a single number space
so they can be used together in a "select" implementation.
How does abstracting all CVS I/O calls for files, pipes
and sockets sound to you?
Conrad
- Windows & POSIX, Conrad T. Pino, 2005/02/21
- RE: Windows & POSIX,
Conrad T. Pino <=