udp2ws - UDP to WebSockets bridge

udp2ws - UDP to WebSockets bridge v0.3.2

Login or Register an account to download this content
udp2ws
This Assetto Corsa Dedicated Server plugin creates an UDP Relay (to chain plugins) and proxies all the communication through WebSockets.

Requirements
  • Assetto Corsa Dedicated Server
  • Any Linux x64 distro or Windows x64 (can be built for other OS, architectures)
Live example

You can try this websockets service at http://udp2ws.sim-racing.es/.

Just click connect to play with a real Assetto Corsa Test Server.

You can also join the server to see the results of specific events. Server name is "udp2ws plugin test".

If is not up, you can always use your installation address to try it.

Installation


Unzip and place the files in the same host you have Assetto Corsa Dedicated Server.

Open udp2ws.ini file with your favorite editor and modify as you need. Everything is explained in place.

Code:
$ nohup ./udp2ws 2>&1 &

This will keep the application running in the background (linux example).

Usage example

You can connect through the websocket server (socket.io server)

HTML:
<script src="http://localhost:30000/socket.io/socket.io.js"></script>
<script>
  var socket = io('http://localhost:30000');
  socket.emit('broadcast_message', 'Message sent from udp2ws');
</script>

Replace localhost by the server IP running udp2ws.

This specific command sends a message to everyone connected to the server.

Documentation at https://github.com/germanrcuriel/assetto-corsa-server-udp2ws

Latest updates

  1. v0.3.2

    - Don't show /admin messages in websockets
  2. v0.3.1

    Fix broadcasting messages to happen only once each time an UDP event is triggered
  3. Broadcasting instead of emiting to save resources

    - Upgraded dependencies - Server UDP messages are now broadcasted to everyone instead of...

Latest News

Author
germanrcuriel
Downloads
98
File size
28.5 MB
Views
4,878
First release
Last update
User rating
0.00 star(s) 0 ratings

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 93 91.2%
  • Better structured events

    Votes: 16 15.7%
  • Better structured racing club forum

    Votes: 16 15.7%
  • More use of default game content

    Votes: 11 10.8%
  • More use of fixed setups

    Votes: 28 27.5%
  • No 3rd party registration pages

    Votes: 34 33.3%
  • Less casual events

    Votes: 9 8.8%
  • More casual events

    Votes: 33 32.4%
  • Other, specify in thread

    Votes: 5 4.9%
Back
Top