Sending c# string to c++ server through network -


I am writing a C # client that needs to be communicated to the C ++ server I send a string to the server Looking for a way, I'm stuck, since C is in C # 2 bytes and C ++ is 1.

How can I change my string as a readable four array for the server?

Thanks a lot!

Ps: I feel like there will be one problem with other types like Intel and stuff.

In C ++ you can use std :: wstring That's the wide character and two bytes.

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

Simple file compression in C -

php - Sorting an multidimension array using usort fails -