
Enviado em 06/07/2020 - 16:34h
Eu tenho o seguinte problema:from pythonosc import dispatcher
from pythonosc import osc_server
if __name__ == "__main__":
ip = '192.168.0.11'
port = 5005
dispatcher = dispatcher.Dispatcher()
dispatcher.map("test", print)
server = osc_server.ThreadingOSCUDPServer((ip, port), dispatcher)
print("Serving on {}".format(server.server_address))
server.serve_forever()
import random
import time
from pythonosc import udp_client
My Ubuntu pc has UDP ports closed, how do I open it?
I already disabled the firewall and tried to open the ports with iptables but nothing has changed.
if __name__ == "__main__":
ip = '192.168.0.11'
port =5005
client = udp_client.SimpleUDPClient(ip, port)
for x in range(20):
client.send_message("/test", random.random())
time.sleep(1)
Bluefin - A nova geração de ambientes de trabalho Linux
Como atualizar sua versão estável do Debian
Cirurgia para acelerar o openSUSE em HD externo via USB
Quer auto-organizar janelas (tiling) no seu Linux? Veja como no Plasma 6 e no Gnome
Copiando caminho atual do terminal direto para o clipboard do teclado
Script de montagem de chroot automatica
Conky não mostra temperaturas da CPU no notebook (0)
Não estou conseguindo fazer funcionar meu Postfix na versão 2.4 no Deb... (0)









