Posts with Tag: Network

Upcoming PhD QE Progress

So I’ve been doing my PhD for over two years now, and I haven’t posted a reflective “state of the th ...

BWCCA 2010 – Adaptive Mixed Bias Resource Allocation for Wireless Mesh Networks

Today I presented a recent paper on “Adaptive Mixed Bias Resource Allocation for Wireless Mesh Netwo ...

Thesis Defense a Success!

Last Friday I successfully defended my thesis at Guelph. The room was full with lots of friends, stu ...

PerWin Research Group @ the University of Guelph

Today I completed the listing page for all of the presentations our research group PerWin at the Uni ...

Tutorial: Ns-2.33 (and nam) on Ubuntu 8.04 (Hardy Heron)

Since I have been working with ns2 for the last few months in preparation for my thesis I have decid ...

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 ...