javascript (frontend) <--> node.js (backend) | Simulate websockets -


i hosting little website using iis 7.5 on windows server 2008 r2. i've got node.js application running on port 3000 , http calls frontend (client browser) reverse-proxied node.js app running on localhost:3000. works perfect.

the problem comes when try use socket.io.

i encountering problems trying reverse-proxy socket.io communitactions.

it seems websocket support not available in iis 7.5.

http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-websocket-protocol-support

so without being able use socket.io, need simulate it's functionality using javascript on frontend , javascript (node.js) on backend.

i need to:

  1. stablish comunication between frontend-backend.

  2. client waiting 10 minutes message-event sent server.

    a) if message received alert "ok".

    b) if message not received in 10 minutes alert "time up".

regards,


Comments

Popular posts from this blog

How do you convert a timestamp into a datetime in python with the correct timezone? -

how to display 2 form fields on same line with bootstrap -

c# - how to use buttonedit in devexpress gridcontrol -