My Java server is using sockets to send a message to a c++ client. I need to make a null terminated string to be read by a C++ Client. Does anyone have any suggestions on how to make a null terminated string. :roll:
Kevin Nilson<br />firstname.lastname@example.org<br />www.cs.siu.edu/~knilson
posted 14 years ago
Try the escape code \u0000 or something like "char nullChar = (char) 0;"