Skip to content

viniciusduartereis/chaterlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Erlang

Simple erlang chat for messages between nodes.

Getting Started

Prerequisites

You need to install erlang.

Enter the name of your machine to the node in client.erl file.

Server = {server_chat, 'server@{MACHINE_NAME}'},

Go to your path project, and start node server

$ erl -sname server

Compile files.

> c(server).
> c(client).

Start server

> server:start().

Open other terminal in your path project and join client.

$ erl -sname client
> C = client:join({NICK_NAME}).

To send message

> C ! {send, "Hello world"}.

Enjoy

Authors

  • Vinícius Duarte Reis

Acknowledgments

  • Teacher Rodrigo Freitas

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages