Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Removed socket encoding (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvdm committed Sep 3, 2015
1 parent 428ced1 commit 1bbc676
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tk102.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ tk102.createServer = function (vars) {
// inbound connection
tk102.server.on ('connection', function (socket) {
tk102.emit ('connection', socket);
socket.setEncoding ('utf8');
var data = [];
var size = 0;

Expand Down

0 comments on commit 1bbc676

Please sign in to comment.