Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
fix Issue 15128 - "IP_ADD_MEMBERSHIP" error in winsock2.d
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Oct 15, 2015
1 parent 9575940 commit e854d0e
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions src/core/sys/windows/winsock2.d
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,22 @@ enum: int

TCP_NODELAY = 1,

IP_MULTICAST_LOOP = 0x4,
IP_ADD_MEMBERSHIP = 0x5,
IP_DROP_MEMBERSHIP = 0x6,
IP_OPTIONS = 1,

IP_HDRINCL = 2,
IP_TOS = 3,
IP_TTL = 4,
IP_MULTICAST_IF = 9,
IP_MULTICAST_TTL = 10,
IP_MULTICAST_LOOP = 11,
IP_ADD_MEMBERSHIP = 12,
IP_DROP_MEMBERSHIP = 13,
IP_DONTFRAGMENT = 14,
IP_ADD_SOURCE_MEMBERSHIP = 15,
IP_DROP_SOURCE_MEMBERSHIP = 16,
IP_BLOCK_SOURCE = 17,
IP_UNBLOCK_SOURCE = 18,
IP_PKTINFO = 19,

IPV6_UNICAST_HOPS = 4,
IPV6_MULTICAST_IF = 9,
Expand Down

0 comments on commit e854d0e

Please sign in to comment.