View Single Post
Old 09-20-2019, 03:07 AM
JensH JensH is offline
Registered User
Join Date: Sep 2019
Posts: 2
python: send to port


It is possible to send all output to a network Port?
So i can catch it like this?

sock = socket.socket(socket.AF_INET, # Internet
socket.SOCK_DGRAM) # UDP
sock.bind((UDP_IP, UDP_PORT)))
Daten, addr = sock.recvfrom(1024)
Reply With Quote