System as a server
I make a program in swings for lan chat.
It is working fine but in a single pc i have to open more than one CMD and run
But i want to ren this program on very system in Lan
for this i have to make a system as aserver becouse without server program client side chat is not going to work
So any buddy Pls help me to make a system like a server.
Mail me on (firstname.lastname@example.org)
First, servers don't typically have a user interface.
You will have to accept connections and then hand them off to worker threads.
I assume the main class already has a loop to allow it to run indefinitely. After you get the basics working, you will need to add error recovery and resource management.
I think it's depends Steve. Most of the server application I've develop have a user interface, just to handling clients behavior. Again, it's depends on the implementation we have to do.
@anil, at the time how your application is works if you don't have a server?
I see your point. A lot of my servers run either as a Windows service or as a daemon, so no one needs to be logged on for the server to run.
Yep, that's the major advantage we have. Actually it's really helpful to work on with with. One of my application(Actually written in C++) use the command prompt as the UI. So there are lots of ways to work on with.