473,320 Members | 1,695 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
RemotingConfiguration.RegisterWellKnownClientType
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 1119
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.com

"Gaby" <Ga**@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.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
RemotingConfiguration.RegisterWellKnownClientType
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.com

"Gaby" <Ga**@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.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
RemotingConfiguration.RegisterWellKnownClientType
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.com

"Gaby" <Ga**@discussions.microsoft.com> wrote in message
news:52**********************************@microsof t.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.com

"Gaby" <Ga**@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.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
> RemotingConfiguration.RegisterWellKnownClientType
> 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
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...
5
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...
0
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...
11
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...
0
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...
0
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...
1
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...
0
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. ...
2
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.