11

I've been checking out some of the latest multiplayer engines in HTML all supporting multi-user games (Very nice) - I believe all these engines use Web Sockets for communication.

That’s why we’ve decided to disable support for WebSocket in Firefox 4, starting with beta 8 due to a protocol-level security issue. Beta 7 of Firefox has support for the -76 version of the protocol, the same version that’s included with Chrome and Safari. Beta 8 of Firefox 4 will remove that support. Anne van Kesteren of Opera also announced that Opera are dropping Websocket support. We are confident that other browser developers will follow.

Source: Websockets Disabled in FireFox 4

I've just come accross the above, so no sockets in Firefox 4 or Opera.... thats big. Is anyone aware of an alternate or is it Chrome or do we need to just sit and wait for the next release of the major browsers.

More info : Rocket Engine appears to work with all browsers including IE8 (http://rocketpack.fi/engine/) what will it be using as a method of communication?

Josh K
  • 23,019
  • 10
  • 65
  • 100
LiamB
  • 658
  • 1
  • 7
  • 16

3 Answers3

6

Yes, there are alternatives:

  • Adobe Flash Socket
  • AJAX long polling
  • AJAX multipart streaming
  • Forever Iframe
  • JSONP Polling

Take a look at socket.io which handles these automatically depending on what is available.

Tatu Ulmanen
  • 967
  • 1
  • 8
  • 16
3

You can always use Flash Sockets though the native Web Socket implementation will be faster with less hassle.

As it stands, without Flash there is no decent substitute. Many libraries that wrap many different transport modes under one "hood" but nothing that performs the same.

Josh K
  • 23,019
  • 10
  • 65
  • 100
1

There's still orbited sockets.

Simply put, Orbited allows you to communicate in real-time with your visitors. Using streaming networking for JavaScript... Orbited allows you to write real-time web applications...

Orbited bridges TCP streams to your browser. Thus, you can connect your clients to any TCP/IP service (IRC servers, custom applications, STOMP daemons such as RabbitMQ and ActiveMQ). Orbited uses js.io to hande protocols such as IRC and STOMP...

gnat
  • 21,442
  • 29
  • 112
  • 288
dan_waterworth
  • 7,287
  • 2
  • 34
  • 45