Allegro style network code