TCPListener and Windows service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All

I have a scenario

The server can dial into the client for several task
1. To fetch several rows from 2 or 3 tables - I plan to zip the files and send it across the network; to increase performance, instead of row-by-row update on the serve
2. To execute a remote application on the client and fetch data returned by the client application to the serve
3. To transfer some files to the client which would be either stored on the client's hard disk, or execute an application and pass the file to the remote applicatio
4. To update sql data on the client databas

My initial design was to make four TCPlistener exes listening to 4 ports and appropriately make the listeners to the appropriate jobs depending on the port that receives data

Is it possible for me to have just one windows service to be running on the client, and depending on the parameter sent from the server, do one of the four options stated above

Please advise
Thanks
 
Absolutly. Thats the way you should go.

Twice today I am refering the same book:

<snip from last post>
I highly recommend picking up Ingo Rammer's book on remoting. Its a few
hundred pages written by the master of remoting. His book is in either:

vb
http://www.amazon.com/exec/obidos/t...002-6913281-9397653?v=glance&s=books&n=507846

or

c#
http://www.amazon.com/exec/obidos/t...002-6913281-9397653?v=glance&s=books&n=507846

</snip from last post>


--
Eric Marvets
Principal Consultant

the bang project

<shameless self promotion>

Email (e-mail address removed) for Information on Our Architecture and
Mentoring Services

</shameless self promotion>
 
Thanks for the response

I have another question related to my earlier post

My idea was to dial into the client with parameters. How can I dial in with paramters? Could you please give me an example?
 
Back
Top