c# - TCP data forwarding

Posted on 2012-08-20
Medium Priority
Last Modified: 2012-08-23
I have a server that accepts requests and data from two different sources (clients or techs) and I would like to be able to pass data between the two. I would like to accomplish this to either pass messages, or ideally in the end pass an rdp request from the techs to the clients. All my attempts thus far have failed and any help pointing me in the right direction would be greatly appreciated.
Question by:ktromp1
  • 2

Accepted Solution

Orcbighter earned 1000 total points
ID: 38315768
You are describing a chat-server application, of which there are many coding examples on the web.
Here is a link to an example of a multithreaded chat server.

Open in new window

It is almost exactly what you want. Try that and modify it to your needs
LVL 24

Expert Comment

ID: 38316340
could you simply tunnel it with we PUTTY ?

Author Comment

ID: 38321087
I will take a look at your link Orcbighter and let you know how it works.

@alexey_gusev I could but I would prefer it to be all handled by the application.
LVL 24

Expert Comment

ID: 38321154
is this example sort of what you are looking for (perhaps with small modifications):


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Integration Management Part 2
Suggested Courses
Course of the Month8 days, 16 hours left to enroll

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question