3 Client 1 server
-
Hi and welcome to devnet,
Well, currently no. Your description is pretty cryptic.
Please rephrase your post to make it clearer. Maybe some picture of what you would like to achieve would help.
-
Hi and welcome to devnet,
Well, currently no. Your description is pretty cryptic.
Please rephrase your post to make it clearer. Maybe some picture of what you would like to achieve would help.
@SGaist I want to make 4 files, 3 client files and 1 server file communicate via Qt Creator.
Two files will be button1 and button2. When they are clicked, the led will be on in the console of my other client file. All these operations will be done by the server file.
-
Ok, so, in fact, you want to write one server application which will be contacted by two client applications.
The number of files and number of applications are unrelated.
One thing you can do is take a look at Qt's network classes to write your application. You should also check the various examples in the network module.