mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Update webpage with new module api
This commit is contained in:
1 parent
d582599c14
commit
cf652b82a3
1 file changed
+1
-1
+1
-1
@@ -69,7 +69,7 @@ Server running at http://127.0.0.1:8000/</pre>
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
var tcp = require("/tcp.js");
|
||||
var tcp = require('tcp');
|
||||
var server = tcp.createServer(function (socket) {
|
||||
socket.setEncoding("utf8");
|
||||
socket.addListener("connect", function () {
|
||||
|
||||
Reference in new issue
Block a user