I'm planning to design a server that receives data from multiple clients, the server don't need to send anything back to the client, though STATUS_OK is still cool but not necessary.
I know the basics of Python socket module, twisted framework but my question is, should i use UDP or TCP? The client that need to stay connected at all.
I hope you guys understand my question, thank you for your wonderful help here
You should always use TCP until you have a performance problem that you know can be mitigated with UDP. TCP is easier to understand when it fails.
Can you afford to lose messages? If yes, use UDP. Otherwise use TCP. It's what they're designed for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With