Commit e4fa035
fix: make udp4 default more resilient
If 'type' was not specified in an object argument to the constructor of
UDPSocket, it would result in an undefined value. This is probably not
what the user intended and it always results in an exception being
thrown.1 parent ded06ca commit e4fa035
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments