Posts with Tag: wireless

p2p is missing the piece that will enable full decentralization

After having freshly attended the Blockchain Conference in Santa Monica / Los Angeles I am freshly e ...

The next adventure — connecting the next billion people

As some of you who know me closely know — Tom and I have moved onto new things from Redtree. It was ...

IEEE AINA 2014, Victoria, Canada

I just spoke in Victoria, BC at the 28th IEEE conference on Advanced Information Networking and Appl ...

Most Recent Post

Multicast Ipv4 and Ipv6 in Java / Kotlin

I recently ran into a peculiarity of multicast in Java / Kotlin. I was using a MulticastSocket: [https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html](https://docs.oracle.com/javase/8/docs/api/java/net/MulticastSocket.html) and trying to ensure that it winds up bound to either an Inet4Address or Inet6Address. It turns out that even if I did something like: ``` val multicastSocket = MulticastSocket(InetSocketAddress("0.0.0.0", MULTICAST_DEFAULT_PORT)) assert(multicastSocket.localAddress is Inet4Address) ``` The assertion could fail. Similarly if I did: ``` val multicastSock ...