How to use ENet?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By roma

How to use ENet? I decided to do a LAN chat for the test (One person creates a server and another person enters the IP and port of the server and when they are on the same network they communicate), but I didn’t find any good tutorials on ENet in Godot 4.0. In general, for the game that I want to make, it is necessary for the player to send to the server which buttons he pressed, and the server to send him all the data about the objects. Sorry for my english