Is it possible to make both TCP and UDP connections between two pieces of software -


I am currently developing a highly sensitive game in Python using the client-server model. The speed of data exchanges between clients and servers should be very fast.

Is it possible to make both UDP and TCP connections? Hats will be used only during the game. And TCP will be used for more reliability-essential messages such as connections, name change, chat ... Is this a good way to think? Or should I use UDP only?

Yes, it might be a good idea to stop a lost packet full stream with UDP does not do. On the other hand, you need retraining and crowd control.

I try to send messages through UDP and if there is no confirmation on a TTP connection, then they should be sent again on a TCP connection open. It should take 99% load of load to UDP and use crowd control and reliability for TCP.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

c# - Create dynamic LINQ query expression at runtime which translates into a parameterized SQL query for nullable types -

cmake - cpack generates RPMs with %files entries that conflict with the RPM spec. How to fix? -