Shakey networking implementation. Untested.