How do i run two socket codes at the same time server.py and client.py | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How do i run two socket codes at the same time server.py and client.py

These connections need to communicate but how can i make them communicate if i can't run them at the same time

21st Jun 2020, 10:43 AM
Masaka Legend
2 Réponses
+ 2
Sockets are meant to be done over a series of computers and not one computer alone. You can run both at the same time on a computer by opening two shell windows and running one script on each, but you can't do that here on SoloLearn.
21st Jun 2020, 10:53 AM
XXX
XXX - avatar
0
You can't open two command windows and run both server and client?
21st Jun 2020, 10:51 AM
_yaroslavv [online_everyday]
_yaroslavv [online_everyday] - avatar