Arduino wider error checking
typo in arduino code
switched client and main
changed names