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:
stablish comunication between frontend-backend.
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
Post a Comment