Improve client sending

Name is always 20 bytes
Use pointers correctly
Report errors