UDP stuff nearly done.