Created
April 17, 2014 09:12
-
-
Save nadeemelahi/10967360 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var https = require('https') | |
var httpSSLserver = https.createServer() | |
httpSSLserver.listen(443); | |
var http = require('http') | |
var httpServer = http.createServer() | |
var io = require('socket.io').listen(httpServer); | |
httpServer.listen(80); | |
module.exports.io = io; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment