Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Remoting - missing System.Runtime.Remoting.Channels.Tcp;

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Remoting - missing System.Runtime.Remoting.Channels.Tcp;

    I'm trying to implement .net's Remoting in an Indicator and the first obstacle that I've hit is the following line of code does not work:

    using System.Runtime.Remoting.Channels.Tcp;

    And as a result this line of code does not work:

    TcpChannel serverChannel = new TcpChannel(9090);

    This comes from:



    Is it possible to make Remoting work in an Indicator?

    thanks,
    shawnj

    #2
    shawn,

    I think you have to add a reference to the correct DLL (right click your code, --> Add reference).

    I'm not sure which thought; check around with google.

    here's one link i found
    mrlogik
    NinjaTrader Ecosystem Vendor - Purelogik Trading

    Comment


      #3
      Originally posted by mrlogik View Post
      I think you have to add a reference to the correct DLL (right click your code, --> Add reference).
      Thanks mrlogik, that got it.

      I was thrown off because the following two usings worked:

      using System.Runtime.Remoting;
      using System.Runtime.Remoting.Channels;

      But this one didn't:

      using System.Runtime.Remoting.Channels.Tcp;

      Well, back to the grind <g>.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Carolscogginsi, Yesterday, 10:45 PM
      0 responses
      6 views
      0 likes
      Last Post Carolscogginsi  
      Started by RaddiFX, Yesterday, 10:15 AM
      2 responses
      15 views
      0 likes
      Last Post RaddiFX
      by RaddiFX
       
      Started by patrickmlee007, Yesterday, 09:33 AM
      2 responses
      18 views
      0 likes
      Last Post patrickmlee007  
      Started by magnatauren, 08-15-2020, 02:12 PM
      5 responses
      208 views
      0 likes
      Last Post RaddiFX
      by RaddiFX
       
      Started by rene69851, 05-02-2024, 03:25 PM
      1 response
      23 views
      0 likes
      Last Post rene69851  
      Working...
      X