Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want run a single project as client-server on machines.

suppose one machine is server others are client and i want to run project on that both client and server machines.

i write Application via C# and they are for single user

now i want to write one of the my application for three users that use it concurrency at network.
Posted
Updated 27-Apr-14 23:45pm
v3
Comments
DamithSL 28-Apr-14 2:47am    
so what is the question?
thatraja 28-Apr-14 3:00am    
Not clear. Mention more details
RahulMGunjal 28-Apr-14 6:56am    
What kind of application are you writing? Is it a application which will be accessing central database from various client machine? or something like chatting application?

Different client applications require deferent models/architecture. Unless you don't clear your application details, it is really hard to give the solution.

1 solution

It can be done on one of several different levels of networking, remoting or WCF.
Please see my overview of these approaches in my past solutions:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

Also, you may need to keep in mind that pure client-server (pull-only) is a very weak/defective model. Please see:
http://en.wikipedia.org/wiki/Pull_technology[^],
http://en.wikipedia.org/wiki/Push_technology[^],
http://en.wikipedia.org/wiki/Client-server[^].

I might be fine for your purpose; I just don't know, but general-case networking often goes beyond client-server. Anyway, please see my past answers for some ideas:
Application 'dashboard' for website accounts[^],
an amateur question in socket programming[^],
Multple clients from same port Number[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900