read_sock() takes "unsigned char *"

rather than "char *", for arg 2