@@ -285,8 +285,8 @@ internal static async Task<int> ReceiveAsync (Socket socket, byte[] buffer, int
285285 /// Connects to the target host and port through the proxy server.
286286 /// </remarks>
287287 /// <returns>The connected network stream.</returns>
288- /// <param name="host">The host name of the proxy server.</param>
289- /// <param name="port">The proxy server port.</param>
288+ /// <param name="host">The host name of the target server.</param>
289+ /// <param name="port">The target server port.</param>
290290 /// <param name="cancellationToken">The cancellation token.</param>
291291 /// <exception cref="System.ArgumentNullException">
292292 /// <paramref name="host"/> is <c>null</c>.
@@ -315,8 +315,8 @@ internal static async Task<int> ReceiveAsync (Socket socket, byte[] buffer, int
315315 /// Asynchronously connects to the target host and port through the proxy server.
316316 /// </remarks>
317317 /// <returns>The connected network stream.</returns>
318- /// <param name="host">The host name of the proxy server.</param>
319- /// <param name="port">The proxy server port.</param>
318+ /// <param name="host">The host name of the target server.</param>
319+ /// <param name="port">The target server port.</param>
320320 /// <param name="cancellationToken">The cancellation token.</param>
321321 /// <exception cref="System.ArgumentNullException">
322322 /// <paramref name="host"/> is <c>null</c>.
@@ -345,8 +345,8 @@ internal static async Task<int> ReceiveAsync (Socket socket, byte[] buffer, int
345345 /// Connects to the target host and port through the proxy server.
346346 /// </remarks>
347347 /// <returns>The connected network stream.</returns>
348- /// <param name="host">The host name of the proxy server.</param>
349- /// <param name="port">The proxy server port.</param>
348+ /// <param name="host">The host name of the target server.</param>
349+ /// <param name="port">The target server port.</param>
350350 /// <param name="timeout">The timeout, in milliseconds.</param>
351351 /// <param name="cancellationToken">The cancellation token.</param>
352352 /// <exception cref="System.ArgumentNullException">
@@ -396,8 +396,8 @@ public virtual Stream Connect (string host, int port, int timeout, CancellationT
396396 /// Asynchronously connects to the target host and port through the proxy server.
397397 /// </remarks>
398398 /// <returns>The connected network stream.</returns>
399- /// <param name="host">The host name of the proxy server.</param>
400- /// <param name="port">The proxy server port.</param>
399+ /// <param name="host">The host name of the target server.</param>
400+ /// <param name="port">The target server port.</param>
401401 /// <param name="timeout">The timeout, in milliseconds.</param>
402402 /// <param name="cancellationToken">The cancellation token.</param>
403403 /// <exception cref="System.ArgumentNullException">
0 commit comments