-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The Method jSocket.send() which is used in the simple example does not
exist in the current (rev. 78) revision.
It should be replaced with jSocket.writeUTFBytes().
Furthermore the example is not very helpful as the onData event handler
function does not print the data the server sends. The example should be
changed so that the following line prints the returned data from the server:
alert('Recieved ' + data + ' bytes: ' + socket.readUTFBytes(data));
Original issue reported on code.google.com by [email protected]
on 6 Nov 2008 at 12:24