提交 f158a7fa 编写于 作者: S Stephen Toub

Update PlatformNotSupportedException message for Socket.Connect on Unix


Commit migrated from https://github.com/dotnet/corefx/commit/f8870a7b2ae22486a4461bc3859690a4e8540dae
上级 b1068797
......@@ -274,7 +274,7 @@
<value>Argument must be between {0} and {1}.</value>
</data>
<data name="net_sockets_connect_multiaddress_notsupported" xml:space="preserve">
<value>Sockets on this platform are invalid for use after a failed connection attempt, and as a result do not support attempts to connect to multiple endpoints.</value>
<value>This platform does not support connecting sockets to DNS endpoints via the instance Connect and ConnectAsync methods, due to the potential for a host name to map to multiple IP addresses and sockets becoming invalid for use after a failed connect attempt. Use the static ConnectAsync method, or provide to the instance methods the specific IPAddress desired.</value>
</data>
<data name="net_sockets_connect_multiconnect_notsupported" xml:space="preserve">
<value>Sockets on this platform are invalid for use after a failed connection attempt.</value>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册