Posts with Tag: Simulation

IEEEE CCECE 2014 and Cognitive Agent Simulation

This past week I attended IEEE Canadian Conference on Electrical and Computer Engineering (CCECE2014 ...

Tutorial: Install ns-3 in Windows 7 using cygwin

Ns-3 is one of the most popular simulation tools for network simulation. See the website: http://www ...

AINA 2009 Conference Presentation

This past week I travelled to the UK to present at my first International Conference – Advanced Info ...

Ns-3.2 on Ubuntu 8.04 Hardy Heron

For the next stage of my thesis instead of using the well known ns-2 simulator as originally planned ...

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

Fair Scheduling & Load Balancing in WMN

My research is becoming more focused as of late towards the area of fair scheduling and load balanci ...

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