Wx.Ca News

Wx.Ca News

Randy Peters  //  Wx.Ca

Oct 11 / 10:40pm

Served by Snow Leopard

The other two Macs at Wx.Ca have been running Snow Leopard for about 6 weeks now. No big issues, so today I upgraded the server as well.
Pastedgraphic-1
I did hit one minor snag. It may be related to the OS upgrade also upgrading Java 5 to Java 6.

The server listens for a multicast packet from the Tini board sensor monitor. Previously, this was done just by joining a MulticastSocket to the correct IP address and listening. However, under Snow Leopard and Java 6, the socket only appeared to be listening on the loopback interface, lo0 as reported by netstat -g. The cure was to call socket.setLoopbackMode(true) which disables listening on the loopback interface and then listens on the ethernet interface.

0 comments

Leave a comment...