Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / May 2004

Tip: Looking for answers? Try searching our database.

TCPListener and Windows service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dora - 22 May 2004 11:16 GMT
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
Eric Marvets - 22 May 2004 18:45 GMT
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/tg/detail/-/1590590627/qid=1085247007/sr=8-1/r
ef=sr_8_xs_ap_i1_xgl14/002-6913281-9397653?v=glance&s=books&n=507846


or

c#
http://www.amazon.com/exec/obidos/tg/detail/-/1590590252/qid=1085247007/sr=8-2/r
ef=sr_8_xs_ap_i2_xgl14/002-6913281-9397653?v=glance&s=books&n=507846


</snip from last post>

Signature

Eric Marvets
Principal Consultant

the bang project

<shameless self promotion>

Email sales@bangproject.com for Information on Our Architecture and
Mentoring Services

</shameless self promotion

Dora - 24 May 2004 12:56 GMT
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.