Skip to content

Simple Example does not work #6

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions