More network code stuff; still doesn't work.