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)
Desktop Linux ganha novos apps enquanto IA invade o noticiário
Blender 5.0 Beta, Firefox 144 e avanço da IA dominam o dia no mundo Linux
Desktop Linux ganha fôlego enquanto distros refinam experiência e segurança
Wayland em alta, IA em debate e novos ventos para distros e devices
Qt 6.10 e Python 3.14 puxam o ritmo do software livre nesta quarta
Como mudar o nome de dispositivos Bluetooth via linha de comando
Adicionando o repositório backports no Debian 13 Trixie
Erro de instalação do Zorin Os 18 (6)
Erro no Plugin do PDF GLPI 11 (0)