I am doing a socket program and, after my server is connected with the device, I am trying to send a message to him. But the send() function returns a number of bytes greater th
The type of HEX_bufferMessage is pointer to CHAR. You are using sizeof( HEX_bufferMessage ) that is equal to 8 in your paltform.