Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It's important to understand that a websocket connection can only be initiated by the client using a normal GET request. All major browsers support websockets websockets (http://caniuse.com/#search=websockets) - opening a websockets is done by just three lines of JavaScript. After a websocket connection is open, both sides can send messages whenever they want. 

...

CSS is used to position the canvas and the taxi image on top of the image with the map of Amsterdam. In cases like this where positioning the elements is critical, I find it easier to write the HTML in an editor and include the contents in NetTalk's response by using the LoadFile method of the packet class:

...