Dear Don,

        If you follow the last discussions even Dossy agrees that a SOCKET
is not an int on Windows 64 

All of this depends on the week type system of C, were types with different
names, supposed to be used for different needs are considered equivalent is
their size is the same. If we had used Ada none of this would have had
happened: types with different names are different no matter what their size
is.
 
Anyhow in the base code 95% of the times or even more sockets are declared
as SOCKET sockets.
Here and there they are declared as int. This is an inconsistency and it
should be removed.
I do beg the community to do this little change because it is in the benefit
and interest of everybody.

Hope it helps,
Maurizio


-----Original Message-----
From: AOLserver Discussion [mailto:AOLSERVER@LISTSERV.AOL.COM] On Behalf Of
Don Baccus
Sent: 04 August 2011 18:07
To: AOLSERVER@LISTSERV.AOL.COM
Subject: Re: [AOLSERVER] Aolserver Progress - Some few examples....

On Aug 4, 2011, at 7:20 AM, Maurizio Martignano wrote:

> 5. I have to disagree with your statement " A Unix pipe is just a pair 
> of file descriptors, and a file descriptor in Unix is just an 
> integer."

Feel free to disagree with the official Linux documentation then:

http://www.kernel.org/doc/man-pages/online/pages/man2/pipe.2.html

Note "int pipefd[2]"

file descriptors in Unix are integers.

Dossy says this is the same in Windows (I wouldn't know), perhaps the
problem lies in the semantics, IIRC windows doesn't support anonymous pipes,
for instance.

(But I could be wrong about that . but I'm not wrong about Unix fds being
ints)

----
Don Baccus
http://donb.photo.net
http://birdnotes.net
http://openacs.org


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<lists...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the
email message. You can leave the Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to