login about faq

We use chilkat (c# .net 4.0, chilkat version: for our threaded tcp server. After a random time after the connection to a external server chilkat interrupts the connection with the error

Not connected: no internal socket object

This is our connection to the External server:

Socket asteriskSocket = new Socket();
success = asteriskSocket.UnlockComponent(Properties.Settings.Default.ChilkatSocketKey);
asteriskSocket.Connect(address, port, false, 60000);
asteriskSocket.MaxReadIdleMs = 500;
asteriskSocket.MaxSendIdleMs = 500;

while (asteriskSocket.IsConnected)
    receivedBytes = asteriskSocket.ReceiveBytes();
    //And plenty of other stuff in severall threads that do not access the socket anymore

The main socket connects to an asterisk server and on random occasions and after a random time chilkat loses the connection. We can not reproduce or force this issue. The external server has a uptime of 99.9%, the error should be on our side.

What does the error from chilkat mean? I could not find it in the documentation.

asked Aug 09 '16 at 06:57

hartmann's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 09 '16 at 06:57

Seen: 1,842 times

Last updated: Aug 16 '16 at 05:07

powered by OSQA