Skip to content

Instantly share code, notes, and snippets.

Zachary Iles zackiles

Block or report user

Report or block zackiles

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
zackiles / bind_hack.js
Created Nov 26, 2015 — forked from tralamazza/bind_hack.js
node.js bind() hack
View bind_hack.js
* Author: Daniel Tralamazza <>
* Patch Socket for a before connect event.
* Important! You must require this module before anything else.
* Usage:
* var patch = require('./bind_hack');
* var bind_f = process.binding('net').bind;
You can’t perform that action at this time.