Post Reply 
Can browse, cannot play
19-04-2013, 15:29
Post: #40
RE: Can browse, cannot play
(19-04-2013 15:06)diddle Wrote:  Hi Simon,

this is Debian Wheezy:
# java -version
java version "1.6.0_26"
Java™ SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot™ Client VM (build 20.1-b02, mixed mode, sharing)

However, this is standard behavior, see e.g.:
http://docs.oracle.com/javase/1.5.0/docs...pv6_guide/

"IPv6 stack is preferred by default, since on a dual-stack machine IPv6 socket can talk to both IPv4 and IPv6 peers."

Actually I really think, this is not a issue for you, but a problem I need to resolve here in my network... maybe my WiFi router is the culprit.

Best regards
Diddle.

Thanks for the pointer. MinimServer is limited to IPv4 only because this is what the ohNet UPnP stack assumes. I'd therefore like to force Java to use IPv4 only, and it seems from this Java web page that setting the java.net.preferIPv4Stack property is the only way to do this.

I'm concerned about this because the property needs to be set externally to the MinimServer code (i.e., by the user). I don't want users to need to understand and deal with this, or to find their music won't play if they get this wrong.

I'll do some more searching to try to find a way to force this setting within the MinimServer code. If this isn't possible, perhaps I can detect that Java has chosen to use IPv6 and abort MinimServer with an error message.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Can browse, cannot play - jaszczur - 09-10-2012, 20:52
RE: Can browse, cannot play - psme - 10-10-2012, 02:04
RE: Can browse, cannot play - psme - 10-10-2012, 09:46
RE: Can browse, cannot play - mcn46 - 02-01-2013, 17:59
RE: Can browse, cannot play - simoncn - 04-01-2013, 12:09
RE: Can browse, cannot play - mcn46 - 07-01-2013, 13:02
RE: Can browse, cannot play - simoncn - 07-01-2013, 15:34
RE: Can browse, cannot play - mcn46 - 07-01-2013, 16:54
RE: Can browse, cannot play - simoncn - 07-01-2013, 21:49
RE: Can browse, cannot play - Kannix - 27-01-2013, 12:43
RE: Can browse, cannot play - simoncn - 27-01-2013, 13:33
RE: Can browse, cannot play - Kannix - 27-01-2013, 13:46
RE: Can browse, cannot play - Manul - 02-02-2013, 11:20
RE: Can browse, cannot play - mcn46 - 20-03-2013, 18:12
RE: Can browse, cannot play - simoncn - 20-03-2013, 18:26
RE: Can browse, cannot play - mcn46 - 20-03-2013, 20:05
RE: Can browse, cannot play - simoncn - 04-01-2013, 12:03
RE: Can browse, cannot play - simoncn - 04-01-2013, 12:15
RE: Can browse, cannot play - Holzohr - 05-04-2013, 17:45
RE: Can browse, cannot play - simoncn - 05-04-2013, 17:53
RE: Can browse, cannot play - diddle - 19-04-2013, 11:18
RE: Can browse, cannot play - simoncn - 19-04-2013, 11:24
RE: Can browse, cannot play - diddle - 19-04-2013, 11:29
RE: Can browse, cannot play - simoncn - 19-04-2013, 13:30
RE: Can browse, cannot play - diddle - 19-04-2013, 14:52
RE: Can browse, cannot play - simoncn - 19-04-2013, 15:00
RE: Can browse, cannot play - diddle - 19-04-2013, 15:06
RE: Can browse, cannot play - simoncn - 19-04-2013 15:29
RE: Can browse, cannot play - diddle - 22-04-2013, 11:44
RE: Can browse, cannot play - simoncn - 26-09-2015, 19:40

Forum Jump:


User(s) browsing this thread: 1 Guest(s)