Skip to content

hui-ad/elixir-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatApp

To run this code first:

Then clone this repository and run these commands in your terminal from within the directory of this repository:

mix deps.get
iex -S mix

In another terminal:

nc 127.0.0.1 8000   # nc is the netcat command line program
# type "hi" and press enter

In yet another terminal:

nc 127.0.0.1 8000   # nc is the netcat command line program
# type "I see you" and press enter

You should see in the server's terminal that both "hi" and "I see you" were broadcast, also in the second terminal you should see "I see you" even though you typed that into the third terminal.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages