Hello !
I was wondering how games uses the UDP packets. Like the Source engine, which use TCP and UDP for communication.
I know that the TCP is a connection, and the UDP a stream, and don't need a connection. But, how games handle UDP packet ? Or, if I make a game using UDP, how should I use it ? I'm used to TCP, but not the UDP.
Did you have any tips ?
Thanks !
How use the UDP network ?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
How use the UDP network ?
Founder of NeoShadow Studio. Currently working on the project "Sirami".
github / linkpy
github / linkpy
Re: How use the UDP network ?
I'd suggest reading trough the tutorial on the love wiki; it explains how to setup a (basic) network.
https://love2d.org/wiki/Tutorial:Networking_with_UDP
https://love2d.org/wiki/Tutorial:Networking_with_UDP
Re: How use the UDP network ?
Oh, okay. For avoid fake packet, the server uses a TCP and UDP communication, and when it receive a UDP packet, it's check if the IP of the sender is valid (so, if the IP is also connected with the TCP) ?
Founder of NeoShadow Studio. Currently working on the project "Sirami".
github / linkpy
github / linkpy
Who is online
Users browsing this forum: Semrush [Bot] and 59 guests