Opened 14 years ago

Closed 14 years ago

#10 closed defect (fixed)

Missing WinSock2 constants

Reported by: dmik Owned by:
Priority: blocker Milestone:
Component: odin Version:
Severity: Keywords:
Cc:

Description

There is a bunch of constants (such as IP_ADD_MEMBERSHIP) that were redefined by Microsoft in WinSock2 and have values incompatible with WinSock1. We miss these new defines in Odin headers and simply fall back to old ones.

While it seems to work at binary level (because the values for constants supplied to Odin by the application are taken from the real MS SDK when the application is built and get properly recognized by the new WinSock2 APIs in the Odin code), compiling applications at source level drags the old constants in while actually calling the new WinSock2 APIs and as a result these APIs get wrong parameters and return a failure.

Change History (1)

comment:1 by dmik, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in r21456.

Note: See TracTickets for help on using tickets.