GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaScriptStudy/17-nodejs/12-client.js at master · LCLucky/JavaScriptStudy Expand file tree/ Copy path12-client.jsMore file actions 14 lines (11 loc) · 287 Bytes / Copy path12-client.jsFile metadata and controls14 lines (11 loc) · 287 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 var net = require('net'); var client = net.connect({port: 8080}, function() { console.log('连接到服务器'); }); client.on('data', function(data) { console.log(data.toString()); client.end(); }); client.on('end', function() { console.log('断开与服务器的连接'); }); |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |