+ 1

How to use server in socket module in python?

when i use localhost for ip in socket module, it works in one device, but i want to use socket module in two or more device. please help me!

22nd Nov 2020, 9:59 PM
Parham Shafiei Sabet
Parham Shafiei Sabet - avatar
2 odpowiedzi
+ 1
Set up threading so your server can handle multiple requests. You could run a server on a computer and comunicate with multiple devices with client script and create seperate threads to handle each one.
23rd Nov 2020, 2:06 AM
Slick
Slick - avatar
0
ok. How to find and use a server?
23rd Nov 2020, 5:45 AM
Parham Shafiei Sabet
Parham Shafiei Sabet - avatar