Authorization
To be allowed to write messages, you need to login.
Login:
Password:
New user?
Discussion Group
>>
home
>>
forum list
>>
thread list
Forum list
|
Thread list
|
Keywords:
Thread:
Client disconncet from server suddenly
Author:
SamSam
Status:
guest
Date:
11/23/2009 9:18:11 AM
I'm using gtcp, a transport level error occur sometimes, and all the clients disconncet from server suddenly, and cannot reconnect to the server.
After waiting serveral minutes, clients can connect to server again.
What's the reason causing this error? Is it related to network problem?
Exception: Transport level error. Can not send the packet through the transport.
Server stack trace:
at Belikov.GenuineChannels.GenuineTcp.TcpSocketInfo.Write(Byte[] buffer, Int32 offset, Int32 count)
at Belikov.GenuineChannels.GenuineTcp.TcpConnectionManager.LowLevel_SendSync(Message message, TcpSocketInfo tcpSocketInfo)
at Belikov.GenuineChannels.GenuineTcp.TcpConnectionManager.LowLevel_OpenConnection(HostInformation remote, GenuineConnectionType genuineConnectionType, String localUri, Int32 localPort, String connectionName, String& remoteUri, Int32& remoteHostUniqueIdentifier)
at Belikov.GenuineChannels.GenuineTcp.TcpConnectionManager.GetConnectionForSending(Message message)
at Belikov.GenuineChannels.GenuineTcp.TcpConnectionManager.InternalSend(Message message)
at Belikov.GenuineChannels.Connection.ConnectionManager.Send(Message message)
at Belikov.GenuineChannels.DotNetRemotingLayer.GenuineTcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Author:
Sergey Tkachev
Status:
developer
Date:
3/24/2010 1:08:00 PM
Is it possible to get a small complete sample demonstrating the problem or at least log files generated by both server and client side with the problem reproduced. To enable logging please insert the following line in the very beginning of your applications:
// file names should be different
Belikov.GenuineChannels.Logbook.GenuineLoggingServices.SetUpLoggingToFile(fileName, "M1I3B1D1");
Home
|
Info
|
Purchase
|
Downloads
|
Support
|
Community
|
Contact Us
Copyright © 2002-2010 Genrix Software, Inc. All rights reserved.