Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Exceptions in EndReceive
cambler

From: Redmond, WA USA
Posts: 102
Member Since: 04/14/03
posted July 16, 2003 3:17 PM

In diagnosing my timeouts, I'm seeing that I'm getting the following exception in EndReceive, which is triggered by AutoReceive. Any ideas, Dart? Anything else I can capture to help?

EXCEPTION: Index was outside the bounds of the array.

Server stack trace:
  at Dart.PowerTCP.SslSockets.SslStream.a(Byte[] A_0, Byte[]& A_1)
  at Dart.PowerTCP.SslSockets.PipeStream.Read(Byte[] buffer, Int32 offset, Int32 count)
  at Dart.PowerTCP.SslSockets.SslStream.Read(Byte[] buffer, Int32 offset, Int32 count)
  at Dart.PowerTCP.SslSockets.SegmentedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
  at Dart.PowerTCP.SslSockets.Tcp.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
  at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
  at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
  at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
  at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
  at Dart.PowerTCP.SslSockets.c.EndInvoke(IAsyncResult result)
  at Dart.PowerTCP.SslSockets.Tcp.b(IAsyncResult A_0)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 17, 2003 10:59 AM

This is too complicated for the forum. Please create a very simple project that duplicates the problem and send it to support@dart.com referencing topic 3286 in the subject.


cambler

From: Redmond, WA USA
Posts: 102
Member Since: 04/14/03
posted July 17, 2003 12:27 PM

I can't create a simple project, as it only happens when I have about 40 TCP sockets running at full speed against an SSL target doing very rapid send/receive bursts.

Any chance you can make a debug version of the library available, so I can give you line numbers with the stack trace?

I'm willing to do the heavy lifting to isolate the problem.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 17, 2003 1:03 PM

I'll send one as soon as I can.
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX