Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simb/FlashSocket.IO
Library to help Flash, Flex and ActionScript clients connect to Socket.IO servers.
https://github.com/simb/FlashSocket.IO
Last synced: 3 months ago
JSON representation
Library to help Flash, Flex and ActionScript clients connect to Socket.IO servers.
- Host: GitHub
- URL: https://github.com/simb/FlashSocket.IO
- Owner: simb
- Created: 2011-02-23T06:37:03.000Z (over 13 years ago)
- Default Branch: 0.7.x
- Last Pushed: 2016-09-22T20:16:49.000Z (about 8 years ago)
- Last Synced: 2024-04-23T15:35:21.585Z (7 months ago)
- Language: ActionScript
- Homepage:
- Size: 7.02 MB
- Stars: 211
- Watchers: 20
- Forks: 73
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actionscript-sorted - FlashSocket.IO - Library to help Flash, Flex and ActionScript clients connect to Socket.IO servers. (Networking / Sockets)
README
# FlashSocket.IO
Flash library to facilitate communication between Flex applications and Socket.IO servers.
The actual websocket communication is taken care of by my fork of gimite/web-socket-js project.
This project wraps that and facilitates the hearbeat and en/decoding of messages so they work with Socket.IO servers
# Checkout
Because this project makes use of git submodules you must make use of the recursive clone.
git clone --recursive git://github.com/simb/FlashSocket.IO.git
# Building
Because this library is dependent on the websocket library, you must add the support/websocket-js path to you source path in flash builder or your build files.
# Usage
For Socket.io 0.7 and 0.8 you will need to use the Beta swc that you can find in the downloads section. Currently in beta.
An example of a flex application connecting to a server on localhost is below