Created
January 12, 2020 12:32
-
-
Save WimJongeneel/70879e85603b8a71427cffe7b8f5a0e0 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
import * as net from 'net' | |
const PORT = 3000 | |
const IP = '127.0.0.1' | |
const BACKLOG = 100 | |
net.createServer() | |
.listen(PORT, IP, BACKLOG) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment