Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardNodeJScluster and socket sharingSingle-choice MCQ

Why does passing a TCP socket (server handle) between a Node parent and child over child_process IPC require the special 'sendHandle' path rather than just JSON-serializing the socket object?

child.send('socket', socket);