Questions tagged [tcpchannel]

12 questions
4
votes
1 answer

.NET Remoting over SSL with TCPChannel

I need to secure my .NET Remoting by SSL. I'm using TCPChannel and I can't switch to HTTPChannel and use IIS to add the SSL. Thus, what I figured out, I need to create my own Sink that will encrypt the streams going to/from Client/Server. For that,…
3
votes
0 answers

.NET Remoting RegisterWellKnownServiceType with a specfic channel when there are multiple channels available

I want to know if it is possible to register a well known service on the remoting server to a particular channel and not on all the available channels. My code is as follows: I created 2 separate tcpchannels on the remoting server with the following…
Tim Robbins
  • 335
  • 4
  • 12
3
votes
2 answers

.NET Remoting TCPChannel analog for .NET Core

As .NET Remoting has been removed from .NET Core framework, I tried to use NetTcpBinding from the WCF library, but it's not included in .NET Core. Is there some other analog of TCPChannel that I can use?
Jake Smokie
  • 85
  • 1
  • 7
2
votes
0 answers

Open tcp remoting channel on specific port

I want to open a tcp port for .Net Remoting callbacks in an application that will run on a terminal server, where multiple concurrent users will be executing and running the app and each must be able to see the incoming callback event messages. …
Charles Bretana
  • 143,358
  • 22
  • 150
  • 216
2
votes
0 answers

Dispose TCP port in .NET Remoting

How can I truly dispose/release the TCP Channel(port) in code without application exit in my .NET remoting application? The full code can be found on GitHub. Server private static void Main(string[] args) { Console.WriteLine("Server side…
Jerry Bian
  • 3,998
  • 6
  • 29
  • 54
1
vote
2 answers

Websphere 8.5 TCP Channel exceeded the maximum number of open connections

We are running a CXF 2.7.11 application on WAS 8.5.5.2 server. Application has classloading parent last property also we disabled IBM JaxWS engine as instructed on CXF documentation. Application is running fine a couple of days, after that we get…
iesen
  • 65
  • 2
  • 11
1
vote
1 answer

.Net remoting: Know in a service if the call have been made locally or remotely?

I currently have a .Net remoting service that can be accessed by different ways: Locally through an IPC channel Remotely through a TCP channel Locally through a TCP channel I need to known, in one of my service method, if the call has been made…
J4N
  • 19,480
  • 39
  • 187
  • 340
1
vote
0 answers

Unexpected second listening port with .NET Remoting

We are big users of .NET Remoting, and have recently noticed that our server processes all have two active listening ports, appearing in netstat and Resource Monitor. We are only registering one TcpChannel on a predefined port in our code, and…
John
  • 11
  • 2
0
votes
1 answer

Missing Namespace Tcp in Visual Studio Community 2017

I want to develop a simple network programm and want to use TcpChannel in VS Community 2017, but that doesn't work because of missing Type/Namespace "System.Runtime.Remoting.Channels.Tcp" what I found in several online tutorials. I also can't find a…
Xilukarim
  • 3
  • 4
0
votes
0 answers

c# register a remote object in console application with ssl connection

I need to register a remote object in console application with ssl connection (server certificate). Now I have this vb.net code (console application) with tcp/ip channel unprotected: Dim Chan As Channels.Tcp.TcpChannel Dim iChan As Integer…
Angelo
  • 101
  • 1
  • 9
0
votes
0 answers

Monitor.Wait outside lock {} - WORKING

So, i'm developing a project which envolves various clients and servers using TcpChannels And there is one particular operation that is to freeze a server - making it look slow - it wont respond to any remote call until it is unfreezed. I do this…
tiefizzy
  • 39
  • 7
-1
votes
1 answer

Spring Integration - TCP Outbound Channel adds unwanted CRLF at the end of each line

I am reading large files using the following code and sending the file content over a TCP connection buffer by buffer. At the end of each send the TCP channel adds a CRLF character. I don't want this to appear in the results unless I add it. …
learner
  • 906
  • 2
  • 10
  • 39