Asynchrounous communication

Added by Kristen almost 7 years ago

Is it necessary to communicate asynchronously with Nordnet for private and Public Feeds?
I ask because I think it is difficult to implement and hope that You could provide an easier method.

Kind regards


Replies (4)

RE: Asynchrounous communication - Added by Nordnet Simon almost 7 years ago

Hi, no we don't have an alternative. The data on the feeds is of nature asynchronus and if you want to display or act on the data in realtime the only option is a feed.

RE: Asynchrounous communication - Added by Kristen almost 7 years ago

Hi, Thank You for the answer.
I am trying to find code examples in C# using asynchrounous communication where you also use an sslstream – can you point to an example? I have no succes.
kind regards

Asynchrounous communication error - Added by Kristen almost 7 years ago

I've tried to implement an asynchronous call to the private feed, it causes the Host to close my connection. I have previously made ​​a synchronous call to work and return data. I've attached a file with the error message. Hope you can help.(It is in danish)
kind regards

host_afbryder.JPG - error code and text (38.3 KB)

RE: Asynchrounous communication - Added by Nordnet Simon almost 7 years ago

It it very hard to say what is wrong without the code.

The best examples I can find on SSLStream is the Microsoft documentation.

http://msdn.microsoft.com/en-us/library/system.net.security.sslstream.aspx

(1-4/4)