HUDis
New member
Do you happen to know why I can't get a response from VIZRT over UDP? I'm using this script.
VIZ terminal returns the following response to it:
Similar functionality works without any issues over TCP. What could be the problem with the UDP connection?"
Python:
import socket
import time
msgFromClient = "0 VERSION \0"
bytesToSend = str.encode(msgFromClient)
serverAddressPort = ("192.168.0.185", 6100)
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(bytesToSend, serverAddressPort)
data, address = sock.recvfrom(1024)
print(f"Received data: {data.decode()} from {address}")
VIZ terminal returns the following response to it:
error: could not send answer <0 Version 4.3.60028>
Similar functionality works without any issues over TCP. What could be the problem with the UDP connection?"