Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
May199 committed Apr 17, 2021
1 parent 206b60e commit 010c4e8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions UDP/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<h1 align="center"> :construction: Python Server :snake: Em construção... :construction: </h1>
<h1 align="center">:snake: Python Server UDP Protocol :snake: </h1>

### Concluídos

- [x] Criar um server Python
- [x] Fazer o server retornar uma página Web
- [x] Criar requisições GET
- [ ] Criar requisições POST
- [ ] Criar conexões entre cliente/servidor
- [x] Criar um server Python UDP
- [x] Criar um client Python
- [x] Simular comunicação entre Server e Client com protocolo UDP

### Como rodar o projeto

$ cmd.exe
$ cd C:\Users\nomeUsuário\diretorio_do_projeto\python-server
$ py main.py
$ py client.py

- Abra os dois Scripts em janelas diferentes do seu terminal

### Tecnologias
- [Python](https://www.python.org/)
- [Bootstrap](https://getbootstrap.com/)
- [Python](https://www.python.org/)
2 changes: 1 addition & 1 deletion UDP/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def connect(self):

if __name__ == '__main__':
cn = Client()
cn.connect()
cn.connect()
2 changes: 1 addition & 1 deletion UDP/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

if __name__ == '__main__':
sr = Server()
sr.connect()
sr.connect()
2 changes: 1 addition & 1 deletion UDP/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def connect(self):
print('received customer: ', str(date))

response = str(date)
server.sendto(date, addressConection)
server.sendto(date, addressConection)



Expand Down

0 comments on commit 010c4e8

Please sign in to comment.