I want to know if it’s possible de make a server and client in the same time using sockets
The goal is to do a bidirectional file transfer from client to server and from server to client using python socket
Any one have an idea ?
Sockets are bidirectional and server can await clients for long time, you can connect by client when need it and then disconnect. But if you want to start socket server only when you transferring files you can make following: client can tell server to start socket server by HTTP request and after that client can connect as socket client.
Socket server and client on the same time