implement waitData, sendData for each networkInterface(server, client)