[Issue 5401] New: std.socket updates and boost license

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 2 23:02:14 PST 2011


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

           Summary: std.socket updates and boost license
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: chris at dprogramming.com


--- Comment #0 from Chris Miller <chris at dprogramming.com> 2011-01-02 22:59:59 PST ---
The following changes have been made to std.socket:
 - License changed to Boost Software License - Version 1.0
 - public constructor added for Socket that accepts an existing socket_t and
its AddressFamily.
 - createAddress protected method added to Socket, returns a new Address object
for the current address family; can be overridden to support other addresses.
 - Address class methods name and nameLen are now public.
 - Remove std.traits Select!, use ptrdiff_t instead.
 - Updated unittests; they were marked as broken and acted in various ways, but
really they depend on the environment and network.

These changes were inspired by this thread:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=115983

Also updated htmlget.d sample to compile with the latest D2.

Thanks to those who have made various changes and fixes to std.socket since my
last contribution.

The code can be found at the following URL (due to bugzilla's "original
material" agreement).
http://www.dprogramming.com/socket14.zip

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list