Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement websockets for realtime communication between server/client #5

Closed
TN1ck opened this issue Nov 23, 2013 · 1 comment
Closed

Comments

@TN1ck
Copy link
Owner

TN1ck commented Nov 23, 2013

Use this for the client: https://github.com/btford/angular-socket-io, you also have to install socket.io-client with bower for this.

For the server use this: https://github.com/benkay/java-socket.io.client

@TN1ck
Copy link
Owner Author

TN1ck commented Nov 23, 2013

To see web socket communication in chrome:

  1. Launch Chrome Developer tools
  2. Load your page and initiate the WebSocket connections
  3. Click the Network Tab.
  4. Select the WebSocket connection from the list on the left (it will have status of "101 Switching Protocols".
  5. Click the Frames sub-tab. Binary frames will show up with a length and time-stamp and indicate whether they are masked. Text frames will show also include the payload content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants