Skip to content

tcp server done #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sueanyv
Copy link

@sueanyv sueanyv commented Mar 27, 2017

No description provided.

@@ -0,0 +1,22 @@

Copy link

Choose a reason for hiding this comment

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

The name of this file should be .eslintrc


const gulp = require('gulp');
const eslint = require('gulp-eslint');
const mocha = require('gulp-mocha');
Copy link

Choose a reason for hiding this comment

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

You are requiring these two packages but you have not installed them.

c.socket.write(`${client.nickname}: ${message}`);
}
});
});
Copy link

Choose a reason for hiding this comment

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

Good job with your @dm

pool.forEach( c => {
c.socket.write(`${client.nickname}:` + string);
});
});
Copy link

Choose a reason for hiding this comment

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

Good job with @ALL.


ee.emit('default', client, data.toString());
});
});
Copy link

Choose a reason for hiding this comment

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

Make sure to handle your on close event. Also add functionality for the user to change their nickname.

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