Chat console application contains one module - chatServer. Server uses localhost
as ip address and port - 8500. After starting the server module, a client can connect to server by using telnet command with same ip address (localhost
or 127.0.0.1
) and port number - 8500.
Application uses python's inbuilt library, thus no hassles of installing library.
python chatServer.py
telnet <ip> <port>
where ip = localhost/127.0.0.1 and port = 8500
e.g. - open new terminal and type this command
telnet 127.0.0.1 8500
or
telnet localhost 8500
Note : Max number of client allowed to connect with server is 5.
login <user_name>
e.g. - login anaconda
To send message, use say
command
say <message>
e.g.say Hello bro
To end the chat session, use stop
command.
e.g. stop