I was send data from Arduino server to my node.js client, when I receive it , I am not getting it as a whole String but instead as chars, in my console I got something like this
Received: h Received: e Received: l Received: l Received: o
Instead of receiving
Received: 'hello'
Any help please
Down bellow is my node.js receiving data client and my Arduino sending the data
client.on('data', function(data) {
    console.log('Received: ' + data);
});
 // listen for incoming clients
      EthernetClient clientA = serverA.available();
      if (clientA) {
          Serial.println("Client A connected.");
          while(clientA.available() > 0) {
              char dataA = clientA.read(); // 
              Serial.print(dataA);
              //clientA.write(dataA); // echo
              serverB.write(dataA); // forward
          }
      }
Client A is another node.js client sending the that to Arduino and Arduino re sending the data.
 
    