Created protocol for network talk