Open c-gaskell opened 4 years ago
Hmm, it's been quite a long time since I've looked at this project...
Does it work without being wired in to the udp_stream
stuff? If not then it looks like you might be encountering this issue, to which the tl;dr is that Windows Firewall is blocking the multicast connection.
I already suspected windows firewall, and I completely disabled it on all networks and retried, to get the same error.
I also commented out all calls to udp_stream and tried again, with just print(data)
in handlePacket() and the same error occurred.
Finally, the error states it is raised from within the pcars module, specifically line 29 of pcars\stream.py.
I'm trying to use this module with Project Cars 2 to send the data over a socket connection to another PC, which acts as a HUD. My code is as follows:
The module udp_stream is just a way to get all the connection-related things out of the main code, and is as follows:
When I run the code, I get the following error:
Project Cars 2 is setup correctly, with the API set to Project Cars 1, and the UDP frequency as 1. How can I fix this?