-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
60 lines (43 loc) · 1.76 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Date: April 24, 2011
This is a chat server I created using Node.js.
Functions
1) TCP server listening to port 828
2) Multiple clients can login.
3) Clients are assigned randon user names.
4) Clients can create their own user name
5) No Persistence, (No data is stored, all data is lost when the chat server shuts down)
6) No logging
7) Support for custom commands for Clients.
Currently supports only 3 commands
about
list_users
quit
8) No client interface, use Telnet
9) When client exits the chat server informs other clients about the departure.
Steps to Install and Use
For Admins
Step 1) Install node.js
Step 2) Download this from GitHub
Step 3) cd NodeChat
Step 4) node start_server.js
For Clients
Step 1) telnet <ipaddress of server> 8282
8282 is the port number where the server is listening to.
This server uses TCP sockets.
Have read a lot about node.js, so decided to write something.
This project was born out of that curiosity.
Chat Server, uses the TCP sockets to allow telnet (or similar products) to communicate with each other.
Command based application, which does basic functionality such as
a) loging in users
b) keep track of all users
c) sending messages to users
d) allowing users to execute special commands.
e) handling conditions when clients stop using their server.
This is not a complete server. It has not taken into consideration security, hacks, malicious intent of use.
This was built purely for educational reasons.
Am I planning on [perfecting/completing/fixing bugs in] this project?
Nope. Simply because I dont have the time or need for it at this point of time.
Was fun going through the documentation of the nodejs and learning new stuff.
version of nodejs used: 0.4.6
Thanks,
Who shot the sheriff? - Bob Marley.