HTML and CSS Reference
Figure 13-7. Selecting the default browser
press F5 to start both the console application that hosts the websocket server and
the client web page. The web page will show the “Connecting to host . . . ” text and
then “connected . . . ”.
Enter some text in the input box and click the Send Message button. You should see
this text display in the console window and it will also be echoed on the client page
as shown in Figure 13-8 .
Figure 13-8. The initial client webpage