File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,11 @@ The `connect` method performs the following steps:
206
206
<li> The instance's {{ReadableStream}} and {{WritableStream}} streams can be used immediately.</li>
207
207
</ol>
208
208
209
+ At any point during the creation of the {{Socket}} instance, `connect` may throw an exception. One
210
+ case where this can happen is if the input address is incorrectly formatted.
211
+ Errors which occur asynchronously- after the socket instance has been returned- must reject the
212
+ socket's `closed` promise.
213
+
209
214
<div class="note">
210
215
The implementation may consider blocking connections to certain hostname/port combinations which can
211
216
pose a threat of abuse or security vulnerability.
@@ -215,6 +220,8 @@ The `connect` method performs the following steps:
215
220
</div>
216
221
217
222
223
+
224
+
218
225
`SocketOptions` dictionary
219
226
---------------------------
220
227
You can’t perform that action at this time.
0 commit comments