Fixed error with IP addresses. Applications don't seem to be properly sending packets (at least, in simulator)