Announcement

Collapse
No announcement yet.

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 kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      127 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      105 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      85 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      105 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      86 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X