Skip to content

builds out a tcp chat server#2

Open
nickjaz wants to merge 5 commits intocodefellows-javascript-401d17:masterfrom
nickjaz:lab-nick
Open

builds out a tcp chat server#2
nickjaz wants to merge 5 commits intocodefellows-javascript-401d17:masterfrom
nickjaz:lab-nick

Conversation

@nickjaz
Copy link
Copy Markdown

@nickjaz nickjaz commented Jul 25, 2017

No description provided.

server.js Outdated

server.on('connection', function(socket) {
var client = new Client(socket);
pool.push = client;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pool.push is a function right now you are assigning a property pool.push

model/client.js Outdated
const uuidv4 = require('uuid/v4');

const Client = module.exports = function(socket) {
this.socket - socket;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo here breaking your functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants