www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3489] New: Address family not supported by protocol family on freebsd

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3489

           Summary: Address family not supported by protocol family on
                    freebsd
           Product: D
           Version: unspecified
          Platform: x86
        OS/Version: FreeBSD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: changlon gmail.com



my os is freebsd i386 7.2 release. 

when run the execute file i got this: "Error: Unable to connect socket: Address
family not supported by protocol family"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 08 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3489




import
        std.stdio,
        std.socket,
        std.socketstream,
        std.stream;


void main(){
        auto Socket sock = new TcpSocket(new InternetAddress("127.0.0.1", 80));
        Stream ss = new SocketStream(sock);

}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 08 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3489




freebsd 7.1 release have the same error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 08 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3489




the follow code can raise the same error :
import  std.socket;
void main(){
        auto sock       = new TcpSocket(new InternetAddress("127.0.0.1", 80));
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 08 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3489


Travis Boucher <boucher.travis gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boucher.travis gmail.com



06:20:19 PST ---
Which version of DMD is this?  I am working on making DMD2 work.

The code you listed works fine with the gdc package in the freebsd ports tree
(on FreeBSD 8.0RC2)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3489


Shin Fujishiro <rsinfu gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rsinfu gmail.com
         Resolution|                            |FIXED



---
Fixed in svn r1548.

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