You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The code provided in the Simple Example was for an earlier version of jsocket
based on
the flash XMLSocket. We are currently working with the AS3 Socket class, which
needed a
change in the jsocket API. A new version of jsocket will be available in the
next week
or so, and I expect to update the examples and documentation, shortly after
that as
well. When that's all sorted out, including some new server examples, jsocket
1.0.0
will be released.
Original comment by aidamina on 29 May 2009 at 12:58
Original issue reported on code.google.com by
[email protected]
on 6 Nov 2008 at 12:24The text was updated successfully, but these errors were encountered: