| OLD | NEW |
| 1 Chat server | 1 Chat server |
| 2 ----------- | 2 ----------- |
| 3 | 3 |
| 4 This sample implements a simple chat server using Dart for both the | 4 This sample implements a simple chat server using Dart for both the |
| 5 client and server code. The server is implementing a sub-set of the | 5 client and server code. The server is implementing a sub-set of the |
| 6 HTTP protocol using the socket support in the Dart VM. The client is | 6 HTTP protocol using the socket support in the Dart VM. The client is |
| 7 implemented using the Dart DOM API and compiled to JavaScript for | 7 implemented using the Dart DOM API and compiled to JavaScript for |
| 8 running in the browser. | 8 running in the browser. |
| 9 | 9 |
| 10 | 10 |
| 11 Files | 11 Files |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 Next step is to start the server | 55 Next step is to start the server |
| 56 | 56 |
| 57 on linux, | 57 on linux, |
| 58 $ ../../out/ReleaseIA32/dart chat_server.dart | 58 $ ../../out/ReleaseIA32/dart chat_server.dart |
| 59 | 59 |
| 60 on a Mac, | 60 on a Mac, |
| 61 $ ../../xcodebuild/ReleaseIA32/dart chat_server.dart | 61 $ ../../xcodebuild/ReleaseIA32/dart chat_server.dart |
| 62 | 62 |
| 63 Now navigate you Chrome browser to http://localhost:8123 and start | 63 Now navigate you Chrome browser to http://localhost:8123 and start |
| 64 chatting. | 64 chatting. |
| OLD | NEW |