Re: Multiple Client Simulation? URgent Help needed



I think you're getting your answers in the csharp newsgroup, so I'll leave
it to them.

Peter

"Chacko" <jacobneroth@xxxxxxxxx> wrote in message
news:1166148083.326746.212440@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hey Peter ,
Well here goes.
The Client is a windows form which initiates the remote call to a
remote machine. Now the remote machine sends back the message to
another class[listener] which is in the same solution as that of the
windows form.Now this class then communicates to the client to output
the result.[Single Client Scenario]

Now when it comes to multiple clients what i do is copy the code of the
client[form] and make another form and paste the same code and make
some changes... Also i create another listener class by copying the
same code..

And hence goes on for multiple clients.
I was wondering if any of u know how u simulate multiple clients by
using reflections.

Chacko

Peter Bradley wrote:
I think we'll probably need a bit more information. At first glance, I
don't understand your reason for copying and pasting code. What are you
copying? Where are you pasting? Is this at runtime, or during your
coding
phase?

Assuming it's multiple clients you are after, can't you just create
several
client objects and set them all going in their own threads?

By "listener", are you talking about a host for your remote object (a
service host, or IIS), that "listens" on a server port?


Peter

"Chacko" <jacobneroth@xxxxxxxxx> wrote in message
news:1166093620.780971.288290@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi could anyone tell me how to simulate multiple clients for a windows
form without actually me having to copy paste the code. Cause its a
real pain....
The thing is i am working on remoting which u guys must have guessed by
now...
And then this is i have a windows form is which is the client and i
have a listener... Now when i need to have multiple clients basically i
got to copy paste the codes and its actually a pain...
Need Urgent Help!!!1

Thank you




.



Relevant Pages

  • RE: DataGrid in a TabPage of a TabControl crashes app
    ... the way the control is invoked from within the client app. ... when we create an instance of a Microsoft Windows ... > This behavior occurs because the message loop that the Windows Form uses ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • RE: Creating microsoft word document using C#.net
    ... "Brendan Grant" wrote: ... > If you are hell bent on having a web page launch word on the client PC... ... > one way to do that would be to create a Windows Form control whose sole job ... This control would be hosted ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Query run very fast in Query Analyser but extremely slow in client
    ... the client application (Windows Form) is just a very simple form ... I have write a very simple ASP page that ONLY call the SP ... >> I run the query analyser in my development workstation inside a LAN, ...
    (microsoft.public.sqlserver.programming)
  • Re: Internet Security
    ... My client won't respond to html ... It's simply a windows form that uses web service. ... One option you have is Kerberos authentication, ... > standardized way comes out from Internet standard bodies. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Multiple Client Simulation? URgent Help needed
    ... Now the remote machine sends back the message to ... windows form.Now this class then communicates to the client to output ... Now when it comes to multiple clients what i do is copy the code of the ... And then this is i have a windows form is which is the client and i ...
    (microsoft.public.dotnet.framework.remoting)

Loading