more work on UDP stuff