A lot of connections
See original GitHub issueNote: for support questions, please use one of these channels: stackoverflow or slack
You want to:
- report a bug
- request a feature
Current behaviour
Server Side
Steps to reproduce (if the current behaviour is a bug)
Note: the best way to get a quick answer is to provide a failing test case, by forking the following fiddle for example.
Expected behaviour
Setup
- OS: Windows 10 PRO
- browser: Chrome
- socket.io version: Latest
Other information (e.g. stacktraces, related issues, suggestions how to fix)
Code:
var app = require('express')();
var http = require('http').Server(app);
var io = require('socket.io')(http);
var port = process.env.PORT || 3000;
app.get('/', function(req, res){
res.sendFile(__dirname + '/index.html');
});
io.on('connection', function(socket){
console.log('connected')
socket.on('chat message', function(msg){
io.emit('chat message', msg);
});
});
http.listen(port, function(){
console.log('listening on *:' + port);
});
When I run that, and I go to localhost:3000 port, it spams in console: connected
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
12 Words and Phrases for Lots Of Connections
12 other terms for lots of connections. lot of connections · very well connected · lot of contacts · lot of knowledge ·...
Read more >I have lots of connections | English examples in context - Ludwig
High quality example sentences with “I have lots of connections” in context from reliable sources - Ludwig is the linguistic search engine that...
Read more >Is having a lot of connections in LinkedIn of any importance?
If you want to connect with a lot of important people relevant to your field then go for it.
Read more >Clue: Co. with a lot of connections? - Crossword Tracker
with a lot of connections? is a crossword puzzle clue that we have spotted 1 time. There are related clues (shown below). Referring...
Read more >10 Ways To Build Connections and Why They're Important
New job opportunities. Professional connections are an excellent way to find new career opportunities. · Mentorship relationships · Increased ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closed due to inactivity, please reopen if needed.
You can easily reproduce it in the chat example by upgrading the version to 2.2.0