Sending packet instead of char *