A friend of mine ask me to help him to get Racing data out of the PS4 Game Project Cars.
The Game is sharing Data via UDP on Port 5606
-------------------------------
UDP streaming support
Fixed a bug where the streaming rate option in the GUI was not working correctly. The option is enabled via the ‘Game play’ menu ‘UDP mode’. This can be selected between off and 1-9. The number represents the UDP streaming data rate as follows:
UDP off
UDP 1 60/sec (16ms)
UDP 2 50/sec (20ms)
UDP 3 40/sec (25ms)
UDP 4 30/sec (32ms)
UDP 5 20/sec (50ms)
UDP 6 15/sec (66ms)
UDP 7 10/sec (100ms)
UDP 8 05/sec (200ms)
UDP 9 01/sec (1000ms)
The stream is sent to a broadcast address (255.255.255.255) on port 5606.
------------------------------------
Can anybody point me into the right direction on how to capture these broadcasts over UDP to use the data later on a webpage (filtered)... I want use B4J as it will run on a pc and b4j will be able to give these data to the webpage then...
But i never worked wih streams at all. Even nothing in past with UDP.
I dont know where to start
Any hints (best to an Tutorial or an working example) will be highly appreciated.
The Game is sharing Data via UDP on Port 5606
-------------------------------
UDP streaming support
Fixed a bug where the streaming rate option in the GUI was not working correctly. The option is enabled via the ‘Game play’ menu ‘UDP mode’. This can be selected between off and 1-9. The number represents the UDP streaming data rate as follows:
UDP off
UDP 1 60/sec (16ms)
UDP 2 50/sec (20ms)
UDP 3 40/sec (25ms)
UDP 4 30/sec (32ms)
UDP 5 20/sec (50ms)
UDP 6 15/sec (66ms)
UDP 7 10/sec (100ms)
UDP 8 05/sec (200ms)
UDP 9 01/sec (1000ms)
The stream is sent to a broadcast address (255.255.255.255) on port 5606.
------------------------------------
Can anybody point me into the right direction on how to capture these broadcasts over UDP to use the data later on a webpage (filtered)... I want use B4J as it will run on a pc and b4j will be able to give these data to the webpage then...
But i never worked wih streams at all. Even nothing in past with UDP.
I dont know where to start
Any hints (best to an Tutorial or an working example) will be highly appreciated.