我在客户端
中遇到此异常套接字连接已中止。 这可能是由错误引起的 处理您的消息或接收 远程超过超时 主机或底层网络 资源问题。本地套接字超时 '23 .23:59:59.4169668'。
我更改了超时但没有工作
这是客户端代码
<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="TcpBinding" closeTimeout="24:00:00" openTimeout="24:00:00"
receiveTimeout="24:00:00" sendTimeout="24:00:00" transactionFlow="false"
transferMode="Buffered" transactionProtocol="OleTransactions"
hostNameComparisonMode="StrongWildcard" listenBacklog="10"
maxBufferPoolSize="10000000" maxBufferSize="10000000" maxConnections="30"
maxReceivedMessageSize="10000000">
<readerQuotas maxDepth="32" maxStringContentLength="10000000" maxArrayLength="10000000"
maxBytesPerRead="10000000" maxNameTableCharCount="10000000" />
<reliableSession ordered="true" inactivityTimeout="24:00:00"
enabled="false" />
<security mode="None">
<transport clientCredentialType="None" >
</transport>
<message clientCredentialType="None" />
</security>
</binding>
</netTcpBinding>
<wsDualHttpBinding>
<binding name="HttpBinding" closeTimeout="24:00:00" openTimeout="24:00:00"
receiveTimeout="24:00:00" sendTimeout="24:00:00" bypassProxyOnLocal="false"
transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="10000000" maxReceivedMessageSize="10000000"
messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="10000000" maxArrayLength="10000000"
maxBytesPerRead="10000000" maxNameTableCharCount="10000000" />
<reliableSession ordered="true" inactivityTimeout="24:00:00" />
<security mode="None">
<message clientCredentialType="None"/>
</security>
</binding>
</wsDualHttpBinding>
</bindings>
<client>
<endpoint address="net.tcp://41.205.115.225:8000/ChatRoom/service"
binding="netTcpBinding" bindingConfiguration="TcpBinding"
contract="ChatRoom" name="TcpBinding">
<identity>
<servicePrincipalName value="my_machine\ASPNET" />
</identity>
</endpoint>
<endpoint address="http://41.205.115.225:8001/ChatRoom/service" binding="wsDualHttpBinding"
bindingConfiguration="HttpBinding" contract="ChatRoom" name="HttpBinding">
<identity>
<servicePrincipalName value="my_machine\ASPNET" />
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>
请我想解决这个问题