View Full Version : ISOCKET_WriteV
ston00
05-08-2002, 03:53 PM
I'm trying to write out data using ISOCKET_WriteV() to my server, which is written in Java. In trying to write out a byte with a value of 0, it writes out the ascii value of 48 instead of 0. How can I write out the actual value of 0? Do I need to convert the data?
Thanks.
Kevin
05-15-2002, 03:53 PM
You can convert it to UTF8 with the helper functions, but I am not sure what Java will do with it. I believe that Java only has UTF16 and not UTF8 data. What are you using to read the data?
ston00
05-16-2002, 11:12 AM
What is the helper function in SDK1.0? I'm using DataInputStream readByte() to read back the data.
vBulletin v3.0.13, Copyright ©2000-2009, Jelsoft Enterprises Ltd.