[Issue 667] New: incorrect value for std.socket.SocketShutdown.BOTH

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 9 03:39:01 PST 2006


http://d.puremagic.com/issues/show_bug.cgi?id=667

           Summary: incorrect value for std.socket.SocketShutdown.BOTH
           Product: D
           Version: 0.176
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: thomas-dloop at kuehne.cn


# enum SocketShutdown: int
# {
#          RECEIVE =  SD_RECEIVE,  /// socket receives are disallowed
#          SEND =     SD_SEND,     /// socket sends are disallowed
#          BOTH =     SD_RECEIVE,  /// both RECEIVE and SEND
# }

should be 

# enum SocketShutdown: int
# {
#          RECEIVE =  SD_RECEIVE,  /// socket receives are disallowed
#          SEND =     SD_SEND,     /// socket sends are disallowed
#          BOTH =     SD_BOTH      /// both RECEIVE and SEND
# }


-- 




More information about the Digitalmars-d-bugs mailing list