Client/Server program design

This is a discussion on Client/Server program design within the C++ Programming forums, part of the General Programming Boards category; Hi, I'm currently writing a C++ console application which will reside on a server machine, and will be accessed both ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    3

    Lightbulb Client/Server program design

    Hi,

    I'm currently writing a C++ console application which will reside on a server machine, and will be accessed both locally on the server and from a client machine over a LAN and over the internet. The problem I'm having is deciding whether to write an entire client application, or just get people to SSH into the server and then log into the application normally. I'm willing to code the client, its not exceedingly difficult, but i though i'd get some suggestions before i re-invented the wheel.

    cheers

  2. #2
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561
    Well what you could do is use DirectX to write the server and the client. That should cut down on your code and effort, that is if the clients dont mind having to install DirectX.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    3
    Hmm...interesting idea, use DirectPlay. The only problem with that is that i may wish to run the client application from Linux(sorry i should have mentioned that in the first post)

  4. #4
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    SSH is probably the best solution. Unless the application has a GUI, you are really wasting your time with the netcode.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  5. #5
    Registered User
    Join Date
    Jan 2002
    Posts
    3
    Thanks for the advice, thats sort of what i was thinking, no point in rewriting the code, and no, its only going to be me using it at the moment, so no GUI necessary.

    Cheers!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with simple socket client/server program
    By spencer88 in forum C Programming
    Replies: 6
    Last Post: 05-05-2009, 11:05 PM
  2. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  3. program design question
    By Chaplin27 in forum C++ Programming
    Replies: 1
    Last Post: 06-23-2005, 07:18 PM
  4. user input and program design
    By Chaplin27 in forum C++ Programming
    Replies: 2
    Last Post: 06-09-2005, 08:53 AM
  5. I need some help with my program please.
    By agentxx04 in forum C Programming
    Replies: 9
    Last Post: 09-26-2004, 07:51 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21