We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
When i use socket = new FlashSocket("localhost:8080/socket"); I get discovery error
Node snippet: (In app.js) app.get('/socket', socket.handle); app.post('/socket', socket.handle);
app.listen(8080, function() { console.log('%s listening at %s', app.name, app.url); });
var io = require('socket.io').listen(app); exports.io = io;
(In routes) exports.handle = function (req, res, next) { console.log('In Handle'); //doesn't print this io.sockets.on('connection', function(client){ console.log('Connection establiished'); });
Routing works just fine but flash socket is not able to discover the location.
Please advice.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
When i use
socket = new FlashSocket("localhost:8080/socket");
I get discovery error
Node snippet:
(In app.js)
app.get('/socket', socket.handle);
app.post('/socket', socket.handle);
app.listen(8080, function() {
console.log('%s listening at %s', app.name, app.url);
});
var io = require('socket.io').listen(app);
exports.io = io;
(In routes)
exports.handle = function (req, res, next) {
console.log('In Handle'); //doesn't print this
io.sockets.on('connection', function(client){
console.log('Connection establiished');
});
Routing works just fine but flash socket is not able to discover the location.
Please advice.
The text was updated successfully, but these errors were encountered: