Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how I can open two consoles in the same times to run client server program?

+9 votes
asked Dec 9, 2017 by Feryel ben aicha (210 points)

3 Answers

0 votes
answered Dec 9, 2017 by nick
Every program runs in separate networkspace so you can't run client-server program at the moment.
+1 vote
answered May 15, 2022 by Shawn Armstrong (330 points)

I sort of found a workaround for this. 

Essentially, open an online compiler then select bash as your language. Create 2 additional files, one containing you server source code and another your client source code. Have the bash pane issue a command to compile both source codes. Afterwards, issue another command to run the executables simultaneously.  

Here is a demo.

0 votes
answered May 26, 2022 by userdotexe (1,340 points)
I'm pretty sure it's not possible on onlinegdb right now, not to say it won't be in the future!

:)
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...