Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 14:26:57 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Alexander Yerenkow <yerenkow@gmail.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: java && IPv6
Message-ID:  <20130528122656.GA2181@tiny.Sisis.de>
In-Reply-To: <CAPJF9wkr1FtPtgTb=wtotE9MF2DWCrPS8dORo_hAeRa9KCaAYQ@mail.gmail.com>
References:  <20130528120123.GA1687@tiny.Sisis.de> <CAPJF9wkr1FtPtgTb=wtotE9MF2DWCrPS8dORo_hAeRa9KCaAYQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Tuesday, May 28, 2013 a las 03:06:08PM +0300, Alexander Yerenkow escribió:

> Did your jdk built with ipv6 support?

I've checked the same class with openjdk7 on my 10-CURRENT netbook:

$ java -version
openjdk version "1.7.0_17"
OpenJDK Runtime Environment (build 1.7.0_17-b02)
OpenJDK Client VM (build 23.7-b01, mixed mode)

$ netstat -an | fgrep 39999
tcp46      0      0 *.39999                *.*                    LISTEN

the 'tcp46' let me think, that the LISTEN is for both, IPv4 and IPv6,
and I can reach the server with

$ telnet ::1 39999
Trying ::1...
Connected to localhost.

and with

$ telnet 127.0.0.1 39999
Trying 127.0.0.1...
Connected to localhost.

Seems to work fine now.

Btw: How do they do this internally having only one Socket for both
families?

	matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz               |  - No system with backdoors like Apple/Android
E-mail: guru@unixarea.de     |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in E-mail
phone: +49-170-4527211       |  - Respect for open standards



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130528122656.GA2181>