How to receive a String when using Spark Core as a client

Hi All,

Client.read() returns a single byte. This was cool I till I was sending a single character from the server.

Now I am trying to send a string from the server. Can you please guide on how to receive this string data without any data loss?

I am using Winsock on the server side, so can only send Char or char*.

Thanks
Sarang