Commit 41049d6 Martijn Croonen
committed
1 parent d545a2e commit 41049d6 Copy full SHA for 41049d6
File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 7
7
< body >
8
8
< a href ="https://github.com/Martijnc " target ="_blank "> < img style ="position: absolute; top: 0; right: 0; border: 0; " src ="https://a248.e.akamai.net/assets.github.com/img/e6bef7a091f5f3138b8cd40bc3e114258dd68ddf/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67 " alt ="Fork me on GitHub "> </ a >
9
9
< h1 > PHP WebSocket server demo</ h1 >
10
- < p class ="description "> A PHP library implementing the lastest version of the WebSockets protocol.</ p >
10
+ < p class ="description "> A PHP library implementing the WebSockets protocol (RFC6455) .</ p >
11
11
< section >
12
12
< div class ="chat-container ">
13
13
< div id ="chat-window "> </ div >
@@ -24,7 +24,7 @@ <h1>PHP WebSocket server demo</h1>
24
24
< script src ="js/chatserver.js?1 "> </ script >
25
25
< script type ="text/javascript ">
26
26
/* Create a new chatserver client */
27
- var chatServer = new ChatServer ( 'ws://192.168.1.15 :8090' , document . getElementById ( 'chat-window' ) ,
27
+ var chatServer = new ChatServer ( 'ws://dev.martijnc.be :8090' , document . getElementById ( 'chat-window' ) ,
28
28
document . getElementById ( 'userlist' ) ) ;
29
29
30
30
/* Connect to the server */
Original file line number Diff line number Diff line change 1
1
PHP WebSockets
2
2
==============
3
3
PHP WebSockets is a PHP library that implements the latest version of
4
- the WebSockets protocol. The [ WebSockets protocol] ( http://tools.ietf .org/html/draft-ietf-hybi-thewebsocketprotocol-10 ) is currently being
4
+ the WebSockets protocol. The [ WebSockets protocol] ( http://www.rfc-editor .org/rfc/rfc6455.txt ) (RFC6455 ) is currently being
5
5
standardized by the IETF. With WebSockets, a client (e.g.: a browser) and
6
6
a server can set up a two-way communication channel with little overhead
7
7
compared to a XMLHttpRequest or long polling.
@@ -20,10 +20,6 @@ observer or subscribe to events that accur on the incomming `WebSocketConnection
20
20
you should implement the ` ConnectionObserver ` interface too and subscribe to the
21
21
incomming connections in the ` ServerObserver :: onNewConnection() ` method.
22
22
23
- Todo's
24
- ------
25
- The todo's are listed in the TODO file.
26
-
27
23
License
28
24
-------
29
25
This library is licensed under the terms of the MIT license which
You can’t perform that action at this time.
0 commit comments