https://github.com/pgvalle/rpchat
https://github.com/pgvalle/rpchat
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pgvalle/rpchat
- Owner: pgvalle
- License: mit
- Created: 2024-11-21T21:10:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-19T13:20:14.000Z (over 1 year ago)
- Last Synced: 2025-02-01T18:13:44.637Z (over 1 year ago)
- Language: Python
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Como Executar o sistema
Tem 3 arquivos que devem ser executados: binder.py, server.py e client.py
O servidor recebe o host em que vai servir, o host do binder e a porta do binder\
```python server.py localhost localhost 12345```
O Binder recebe host e porta em que vai servir\
```python binder.py localhost 12345```
O cliente recebe host e porta com os quais vai se conectar\
```python client.py localhost 12345```
Árvore do diretório raiz
```
.
├── binder.py
├── client.py
├── guiclient.py
├── LICENSE
├── README.md
├── requirements.txt
├── server.py
├── srv
│ ├── entities.py
│ ├── functions.py
│ ├── main.py
│ └── statcodes.py
└── tui.py
```
Os métodos rpc são registrados no servidor e no binder é registrado o serviço com nome rpchat, acessado no cliente