473,583 Members | 3,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Remoting with existing Win32 app

Hi,

I need to connect with an existing Win32 application via port 1001. Can some
one help me to find out how to?
When I create my own remoting application then I can use
RemotingConfigu ration.Register WellKnownClient Type
but now I don’t think this will work.
The only thing what I know is that I need to connect via port 1001 and the
name of the remote application (TCPSockServer. exe)

Can some one help me?

Gaby
Nov 16 '05 #1
3 1126
Gaby,

What kind of application is this? Is it a .NET application that opens
port 1001 for remoting calls? If so, then Remoting is the way to go.
However, I suspect that it is not a .NET application but rather another app
with a custom message structure. In this case, you would have to use the
Socket class in the System.Net namespace, and connect to port 1001 that way.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Gaby" <Ga**@discussio ns.microsoft.co m> wrote in message
news:91******** *************** ***********@mic rosoft.com...
Hi,

I need to connect with an existing Win32 application via port 1001. Can
some
one help me to find out how to?
When I create my own remoting application then I can use
RemotingConfigu ration.Register WellKnownClient Type
but now I don't think this will work.
The only thing what I know is that I need to connect via port 1001 and the
name of the remote application (TCPSockServer. exe)

Can some one help me?

Gaby

Nov 16 '05 #2
Nicholas,

No it is not an .Net app. just a Win32 application.
Do you've a sample code?

Gaby

"Nicholas Paldino [.NET/C# MVP]" wrote:
Gaby,

What kind of application is this? Is it a .NET application that opens
port 1001 for remoting calls? If so, then Remoting is the way to go.
However, I suspect that it is not a .NET application but rather another app
with a custom message structure. In this case, you would have to use the
Socket class in the System.Net namespace, and connect to port 1001 that way.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Gaby" <Ga**@discussio ns.microsoft.co m> wrote in message
news:91******** *************** ***********@mic rosoft.com...
Hi,

I need to connect with an existing Win32 application via port 1001. Can
some
one help me to find out how to?
When I create my own remoting application then I can use
RemotingConfigu ration.Register WellKnownClient Type
but now I don't think this will work.
The only thing what I know is that I need to connect via port 1001 and the
name of the remote application (TCPSockServer. exe)

Can some one help me?

Gaby


Nov 16 '05 #3
Gaby,

In this case, you should check out the documentation for the constructor
for the Socket class, as well as the call to the Connect method. The
constructor is where you set the connection protocol (IP vs UDP), and then
the Connect method is where you specify where to connect to (address and
port).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Gaby" <Ga**@discussio ns.microsoft.co m> wrote in message
news:52******** *************** ***********@mic rosoft.com...
Nicholas,

No it is not an .Net app. just a Win32 application.
Do you've a sample code?

Gaby

"Nicholas Paldino [.NET/C# MVP]" wrote:
Gaby,

What kind of application is this? Is it a .NET application that
opens
port 1001 for remoting calls? If so, then Remoting is the way to go.
However, I suspect that it is not a .NET application but rather another
app
with a custom message structure. In this case, you would have to use the
Socket class in the System.Net namespace, and connect to port 1001 that
way.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Gaby" <Ga**@discussio ns.microsoft.co m> wrote in message
news:91******** *************** ***********@mic rosoft.com...
> Hi,
>
> I need to connect with an existing Win32 application via port 1001. Can
> some
> one help me to find out how to?
> When I create my own remoting application then I can use
> RemotingConfigu ration.Register WellKnownClient Type
> but now I don't think this will work.
> The only thing what I know is that I need to connect via port 1001 and
> the
> name of the remote application (TCPSockServer. exe)
>
> Can some one help me?
>
> Gaby


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1896
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
5
5676
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere 4.0, SourceOffSite 4.1, VSS Connect 1.5,...
0
3281
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others.
11
11937
by: ajou_king | last post by:
I was running some tests on my Win32 1GHZ processor to see how long it would take to transmit objects numerous times via TCP/IP using C# ..NET Remoting vs the C++ trustworthy method of binary streams. I ran the test for 50K, 100K, 500K iterations, where each iteration consists of sending an object from a client process to a server process,...
0
1416
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
0
976
by: Chris Pielak | last post by:
Hello. I am starting to develop an ASP.NET application and have a decision to make regarding data retrieval and storing persistent data for users. This application has an ASPNET portion, a Win32 console portion, and a Framework portion which handles all the business logic (standard n-tier design). The Win32 app makes use of remoting to...
1
1069
by: Lucas Tam | last post by:
Hi all, I have an existing application that I would like to expose via remoting. All the examples I have seen online only show how to create a new application and expose it to remoting. Is there a way I can work remoting into an existing application? Or any tutorials to show how?
0
755
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. The same code works fine in a standalone app. I have inspected System.Runtime.Remoting.dll with ildasm, and I can see the ....Channels.Http...
2
3281
by: victor | last post by:
Hello, I'm facing the following difficulty with a Remoting app which communicates with an Unmanaged (VC6) app in a two-way manner. I have done the direction from Framework to VC6 through WIN32-API delegates, using FindWindow + PostMessage. This works fine. But now I have to go the other way back: from the VC6 app to the Framework, also by...
0
8172
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7928
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8188
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6574
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5695
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5369
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2326
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1422
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1151
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.