FlashSocket.IO icon indicating copy to clipboard operation
FlashSocket.IO copied to clipboard

Does this work with latest socketIO 1.3.4 and if not what changes are needed?

Open jBachalo opened this issue 10 years ago • 5 comments

jBachalo avatar Feb 20 '15 19:02 jBachalo

Did you find something? I have working example with 1.3.4, but not working in chrome... i trying find why..

andrewmillion avatar Mar 22 '15 07:03 andrewmillion

when u connect, it should be requested 'crossdomain.xml' file only in chrome browser. I don't know why... but u can check in Network console in chrome browser.

so I placed 'crossdomain.xml' and added some code in node.js.

app.get('/crossdomain.xml', function(req, res){ res.sendfile('crossdomain.xml'); });

everything is fine. It should be work.

Pls let me know... anyone who know why chrome request 'crossdomain.xml' file. is it related to PPAPI?

code5381 avatar Jul 03 '15 00:07 code5381

Flash socket request the policyFile via TCP, not HTTP-GET.

larkwins avatar Jul 10 '15 10:07 larkwins

I'm not talking about Flash socket. In this project, a connection always starts with polling request via HTTP-POST. Only in chrome, there's a request(GET) for crossdomain.xml. so should be placed in crossdomain.xml in root path. (like http://localhost:3000/crossdomain.xml) q

code5381 avatar Jul 10 '15 12:07 code5381

@andrewmillion could you supply a working example?

mikecann avatar Feb 16 '16 07:02 mikecann