Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm wondering if this is possible and what obstacles I might face.

I have a game that's browser based, and since I can't send UDP packets from a browser, Can I use a plugin that the browser connects to via a web socket, and have that plugin send the UDP messages?

When the plugin receives a UDP packet, it'll then relay it to the browser via the TCP websocket?

Could this work? And can TCP handle tons of messages from the plugin even though it's connecting to 127.0.0.1? At least 64 players in this game. The UDP packets are usually no more than 40 bytes.

share|improve this question
There is websockify which acts as a websocket-to-TCP bridge. But I don't know about one which does the same for UDP. – Philipp Feb 10 at 13:42
I'll be using c# to create the udp server/listener and the local wss server. I'm jst curious if this architecture would work. – Taurian Feb 10 at 16:38

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.