mirror of
https://github.com/esiur/esiur-js.git
synced 2025-06-27 07:13:12 +00:00
Test
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
class DistributedConnection extends IStore {
|
||||
|
||||
send(data) {
|
||||
console.log("Send", data.length);
|
||||
//console.log("Send", data.length);
|
||||
this.socket.send(data.buffer);
|
||||
}
|
||||
|
||||
@ -119,7 +119,7 @@ class DistributedConnection extends IStore {
|
||||
|
||||
this.socket.onmessage = function (msg) {
|
||||
|
||||
console.log("Rec", msg.data.byteLength);
|
||||
//console.log("Rec", msg.data.byteLength);
|
||||
|
||||
this.networkBuffer.writeAll(msg.data);
|
||||
|
||||
|
Reference in New Issue
Block a user