Running a C++ chat client on Linux/Unix servers

  • Context: C/C++ 
  • Thread starter Thread starter exequor
  • Start date Start date
  • Tags Tags
    Chat
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 4K views
exequor
Messages
393
Reaction score
0
What is the easiest way to run a chat client that was written in c++? Preferably for a unix/linux server.
 
Physics news on Phys.org
exequor said:
What is the easiest way to run a chat client that was written in c++? Preferably for a unix/linux server.


compile it and run it?
 
exequor said:
What is the easiest way to run a chat client that was written in c++? Preferably for a unix/linux server.

What is the chat client, and what underlying protocol do you want to use?

If it is based on an open standard then by all means use an open standard as your server..

Your question needs more clarity.

If you build a chat client that complys with the Jabber standards then use a Jabber server, however if you write your own protocol for your client, then write the Server app ensuring it complys with this protocol.
 
It is just a simple server that uses winsock, and a client to go with it.
 
You need to think below the application layer
 
If you have the server and the client then what is the problem? Assuming the client connects to the right port on the server and uses an agreed protocol then all you need to do is make sure you don't have a firewall in the way blocking either the incoming port on the server or the outgoing port on the client. Did you write the software yourself or is it someone else's and are you just having difficulties using it?
 
It is a simple application that we [a group] wrote. It is very simple now and we are going to expand on it. Currently it works when someone runs the server on their computer, but we want to run it on a webhost's server or a shell account, sort of like an ird daemon.