Skip to content

socket timeout #1

@simracingstudio

Description

@simracingstudio

Hi nebriv,

I'm trying to integrate your mod with the simracingstudio app, and I can't get receive the udp pakets in my app.

Steps to reproduce:
Install the VTOL VR Mod Loader
Install the mod https://vtolvr-mods.com/mod/usetddjq/
Load the game from the Mod Loader
In main screen select mods, load the telemetry
I tried with the ports 4123 and 41235

My python script:

try:
    sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
except Exception as e:
    return False

try:
    sock.bind((udp_ip, udp_port))
    sock.settimeout(1)
except:
    print('vtol fail sock')
    return False

try:
    data, addr = sock.recvfrom(1024)  # receiving from socket
    sock.close()
    return data
except Exception as e:
    print('vtol error receive', str(e))
    return False

I always get vtol error receive timeout.
I checked the windows firewall and vtolvr is both in public and private

Anything else you suggest for me to try?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions