Differences between and Standard Header Files
Following are the differences between <PMWSOCK.H> and standard <WINSOCK.H>
header files:
- <PMWSOCK.H> does not include (with #include)
any header files.
- The keyword FAR has been removed from all functions
and pointers.
- The keyword PASCAL has been removed from all of the
prototypes and replaced with APIENTRY.
- The FARPROC type in the WSASetBlockingHook prototype
has been replaced with PFN.
- The hostent, netent, servent, and protoent structures
had several entries that were defined as "short;" these have been widened
to "int." The two fields of the linger structure have been widened from
"u_short" to "int." These changes were made to comply with the definitions
in the BSD header files.
- A bug in the IN_CLASSC macro has been corrected.
- The CONST keyword for the buf parameter of
the prototype for WSAAsyncGetHostByAddr has been removed (it was an error).
[Back: Differences between OS/2 WInsock and the Winsock 1.1 Specification]
[Next: Differences between IBM Open32 and Standard Header Files]