Skip to content

servidor tcp de arquivos e chat feito em erlang e cliente feito em python

License

Notifications You must be signed in to change notification settings

Fabiokleis/ftcperl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftcperl

File Server over tcp written in erlang. simple python client.

Server

An OTP application.

Server env options, listening port and process pool size.

[
  {server, [{port, 8123}, {pool, 10}]}
].

Build

$ rebar3 compile

Run

$ rebar shell

Client

$ python client.py

Usage

-define(HELP_MESSAGE, "comande o servidor digitando um dos comandos.

comandos disponiveis: [chat, file, sair, help].
    help: mostra essa mensagem de ajuda.
    sair: termina o processo com o servidor.
    chat: habilita e desabilita o modo chat. %% echo server
    file <nome>: copia um arquivo desejado. %% e.g file client.py
").

Releases

No releases published

Packages

No packages published