Sending a positive octet of zero bits over a socket : I am currently attempting to communicate with an external application over TCP/IP based socket. I have successfully established a connection with the client and received some data. This manual [here][1] states that 

>   After this command is received, the client must read an acknowledgement 
> octet from the daemon.  A positive acknowledgement is an octet of  zero bits.  A negative acknowledgement is an octet of any other pattern.

I would like to send a positive acknowledgment and I am sending it this way

    void WriteData(std::string content)
    {
        send(newsockfd,content.c_str(),content.length(),0);
    }

    WriteData("00000000");

My question is if I am sending this data corectly ?


  [1]: https://www.ietf.org/rfc/rfc1179.txt