Permalink
Browse files

udp: remove ancient check

PR-URL: #8088
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
  • Loading branch information...
saghul committed Aug 12, 2016
1 parent 3dfcb2e commit 6a3dbdacd6cf67f643dee219fd782a193ddd2534
Showing with 0 additions and 3 deletions.
  1. +0 −3 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');
}

0 comments on commit 6a3dbda

Please sign in to comment.