How can I solve the duplicated message problem in sample chatting application


I am trying to work with the sample chatting application.
When I send one message , then recipient receive two messages.
I tried to remove follow code in PhysicalConnection_win.cpp.
//inBuffer.append((char*)m_byInBuffer, dwIoSize); //Setting incorrect buffer size will cause an overflow.
                                                 //fixed.//This is used to duplicate packet to ensure sending packet correct.
                                                //TODO protect developer.
if (!inBuffer.append((char*)m_byInBuffer, dwIoSize))
    return false;
but the same as before.
Please help me how can I solve this


charfeddineahmed wrote May 3, 2014 at 2:53 PM

fixed in changeset 105788