diff --git a/lib/dgram.js b/lib/dgram.js index c088bffa7ff..9037666d174 100644 --- a/lib/dgram.js +++ b/lib/dgram.js @@ -53,9 +53,6 @@ function newHandle(type) { return handle; } - if (type == 'unix_dgram') - throw new Error('"unix_dgram" type sockets are not supported any more'); - throw new Error('Bad socket type specified. Valid types are: udp4, udp6'); }