lukedaddy
lukedaddy

Reputation: 1

One server vs. multiple clients with data communication

I have a question on how to implement a server and multiple clients with data communication.

They share the same dataset for each step. That is, a server gets the same step's data for each client. I have no idea how to sync all clients and communicate data file for each step.

Can you give me some hints or a basic idea? An example will be perfect.

Upvotes: 0

Views: 9612

Answers (2)

ypercubeᵀᴹ
ypercubeᵀᴹ

Reputation: 115530

If you don't want to deal with details like socket and connection handling and you like high diving, you should look into Twisted

Here's a SO answer with a simple example of a server using Twisted

Upvotes: 0

Related Questions