MCPcopy
hub / github.com/plasma-umass/browsix / createSocket

Function createSocket

node-modified/lib/internal/child_process.js:107–122  ·  view source on GitHub ↗
(pipe, readable)

Source from the content-addressed store, hash-verified

105
106
107function createSocket(pipe, readable) {
108 /*
109 var s = new net.Socket({ handle: pipe });
110
111 if (readable) {
112 s.writable = false;
113 s.readable = true;
114 } else {
115 s.writable = true;
116 s.readable = false;
117 }
118
119 return s;
120 */
121 throw new Error('createSocket not implemented');
122}
123
124
125function getHandleWrapType(stream) {

Callers 1

child_process.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected