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 <[email protected]>
Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
Reviewed-By: Brian White <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
  • 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 Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 6a3dbda

Please sign in to comment.