It's probably safer to define this as SOCKET, but windows.h says SOCKET is:
typedef u_int SOCKET;
And:
typedef unsigned int u_int;
Since Windows is LLP64 and most Unix-like systems are LP64, I don't
understand how AOLserver's defining trigger[2] as (int) is the problem
-- Windows might complain about some signed/unsigned thing at compile
time, but in both cases, (int) is 32 bits.
On 8/4/11 3:24 AM, Maurizio Martignano wrote:
int trigger[2]; /* Wakeup trigger pipe. */
ßWhy is this an int when it was a SOCKET (any justification????)
--
Dossy Shiobara | "He realized the fastest way to change
do...@panoptic.com | is to laugh at your own folly -- then you
http://panoptic.com/ | can let go and quickly move on." (p. 70)
* WordPress * jQuery * MySQL * Security * Business Continuity *
--
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.