Closed bantu closed 10 years ago
The .on
function is in WebTCPIO, but the example uses var socket = net.createSocket("127.0.0.1", 1337, options);
which returns a Socket object which does not have .on
.
Please excuse my stupidity. Socket has the on function from WebTCPIO. My problem was solely that the order of .js includes matters.
Example file uses
but the socket has