Skip to content

Commit

Permalink
udp: remove ancient check
Browse files Browse the repository at this point in the history
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 13, 2016
1 parent 3dfcb2e commit 6a3dbda
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/dgram.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ function newHandle(type) {
return handle; 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'); throw new Error('Bad socket type specified. Valid types are: udp4, udp6');
} }


Expand Down

0 comments on commit 6a3dbda

Please sign in to comment.