Tlantic / cdv-socket-plugin

Cordova Socket Plugin
GNU General Public License v3.0
51 stars 43 forks source link

Windows 8 / WP8 - send issue #79

Open iw1qlh opened 8 years ago

iw1qlh commented 8 years ago

I am trying to send a string on Windows 8 / WP8

window.tlantic.plugins.socket.send(
        function () { },
        function () { console.log("send failed") },
        connectionId,
        "IW1QLH" + String.fromCharCode(13)
        );

Like you can see in the image (payload is highligthed), extra bytes are added to the begin of the string (they seem the string length): cdv-capture

This is the same string (without CR) sent using a telnet program, no extra bytes are added telnet-capture