Manage network event (1st version, not tested yet)