buffer size changed
<p>I am doing a simple communication between sockets and here is my C++ code</p>

<pre><code>while(1)
{
    string buffer = "23,45\n";
    const char* foo = buffer.c_str();
    cout &lt;&lt; "size of buffer is " &lt;&lt; sizeof(buffer)&lt;&lt;endl;
    send (s, foo, sizeof(buffer), 0);
}
</code></pre>

<p>weird thing is the fist iteration, the size of the buffer is 5 as expected, but since the second iteration and so on, the size dramatically jumped to 32. any idea why? Thank you very much. By the way, the added size comes from leading while spaces.</p>
