Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 256 Bytes
print = global.print
require = global.require
// Make an echo server using the API
require('net').createServer((client) {
print("new client, piping data back to it")
client:pipe(client)
}):listen(8080)
print("TCP echo server listening on port 8080")
Jump to Line
Something went wrong with that request. Please try again.