• This project
    • Loading...
  • Sign in

I_Jemin / Node-Study

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Node-Study
  • app.js
  • I_Jemin's avatar
    HTTP connection event · e969f004
    e969f004
    I_Jemin authored 2018-03-22 00:55:25 +0900
app.js 214 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11
const http = require('http');

const server = http.createServer();

server.on('connection',(socket) => {
    console.log('New Connection...');
} );

server.listen(3000);

console.log('Listening on port 3000....');