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
Post a Comment