Re: Remoting Example on MSDN site - some help understanding it

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Andreas Håkansson ("Andreas)
Date: 03/17/04


Date: Wed, 17 Mar 2004 02:02:54 +0100

In a remoting scenario you have a "host" for your remotable object. This
could be IIS or any other application such a console application or a
windows servicem listening on a pre defined tcp port.

When the client create a new instance of a remote object, the .NET
Framework checks the configuration settings for the application, and
determins how to retreive an instance of the object.

It find the information, and forwards the call to the "host" which then
creates the correct object using the correct activation mode. This is a
simplified description on how the remoting scenario works.

Hope this helps,

//Andreas

"Krish" <skrishnan@snet.net> skrev i meddelandet
news:87e66aa2.0403161421.2a7120f8@posting.google.com...
> I am working the examples given at the following location (msdn site)
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcompilingrunningbasicapplication.asp
>
> I have the Listener running, I have the client running, How do I
> understand
> this example, The listener is listening to what. usually isn;t it the
> client that is the listener, and server publishes data.
>
> Any inputs on how to understand this example or what it is doing
> greatly appreciated.
>
> Thanks



Relevant Pages

  • Re: TcpClient and TcpListener: host based control.
    ... For example, if you have Accept-ed connection on your listener, you can get ... > Paul T. ... >> wanted to add host based access control. ... >> to find out who is the client that connects to my listener. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Windows service with sockets
    ... Ignacio Machin wrote: ... You cannot block the onStart method, you have to create a new thread in the ... If you service support more than one client you then need to spawn a new ... private TcpListener listener; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Socket Client und Server
    ... Here's a sample TCP Client and associated server "listener" to illustrate ... Dim tcpClient As New System.Net.Sockets.TcpClient ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: Ora 3113 - Windows Authentication Services? - trace files
    ... Server has been restarted several times before I was involved. ... traced listener and sqlnet client and serverside but found nothing ... server and client. ... Can you read something usefull from these? ...
    (comp.databases.oracle.server)
  • Re: Why cant more than one connect at one time?
    ... You have to return to listen after you accept previous connecting client. ... My client conencts great, my server listens great. ... setting a global member of _sockWorker to the accept of the listener? ...
    (microsoft.public.win32.programmer.networks)