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


--- Comment #0 from changlon <changlon gmail.com> 2009-11-08 09:18:13 PST ---
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



--- Comment #1 from changlon <changlon gmail.com> 2009-11-08 09:24:08 PST ---
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



--- Comment #2 from changlon <changlon gmail.com> 2009-11-08 19:22:21 PST ---
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



--- Comment #3 from changlon <changlon gmail.com> 2009-11-08 20:46:08 PST ---
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


--- Comment #4 from Travis Boucher <boucher.travis gmail.com> 2009-11-20
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


--- Comment #5 from Shin Fujishiro <rsinfu gmail.com> 2010-05-23 23:29:31 PDT
---
Fixed in svn r1548.

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