CSocket class does not work for binary data

darekb62
2012-03-17
2014-01-19
  • darekb62

    darekb62 - 2012-03-17

    Hi,

    I updated lately from 6.9 to 7.3.
    I can not use the CSocket class, as it does not work for binary data anymore. The ReceiveFrom function uses lstrcpyn() and stops on first 0 in the packet.

    Regards,
    Dariusz

     
  • David

    David - 2014-01-19

    Hi Darius,

    The CSocket functions Send, SendTo, Receive and ReceiveFrom now accept char instead of TCHAR to support binary data.

    Updated on SVN Revision 1717.

    Best regards,
    David

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks