Skip to content

Commit

Permalink
push to github
Browse files Browse the repository at this point in the history
  • Loading branch information
olalonde committed Mar 31, 2011
1 parent 5a8aac2 commit df916a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Requirements #

1. [http://nodejs.org/](http://nodejs.org/)

# Usage #

Start server:
Launch the server:

./ttychat-server

Start clients:
Start as many clients as you wish:

./ttychat
2 changes: 1 addition & 1 deletion ttychat-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var server = net.createServer(function (socket) {
});

// Create socket file
child = exec('nc -U ' + socket_path, function () {
exec('nc -U ' + socket_path, function () {
// Start server
server.listen(socket_path, function() {
util.log('Server started. Waiting for connections on ' + socket_path);
Expand Down

0 comments on commit df916a0

Please sign in to comment.