diff --git a/README.md b/README.md index 5629417..fdedadc 100644 --- a/README.md +++ b/README.md @@ -308,7 +308,8 @@ Process Interceptor.attach(ex.address, { onEnter: function (args) { var fd = args[0].toInt32(); - if (Socket.type(fd) !== 'tcp') + var socktype = Socket.type(fd); + if (socktype !== 'tcp' && socktype !== 'tcp6') return; var address = Socket.peerAddress(fd); if (address === null)