Open fleimeris opened 3 months ago
What's the difference between a standard socket and a LISTEN
socket, and why should a LISTEN
socket be used?
Note that in the netstat
output, the ENetMultiplayerPeer is on IPv6 while others are on IPv4.
Sorry, forgot to mention, but I can't connect to that specific port if it's not marked as LISTEN
.
About IPv6 I did not noticed. Is this intended ?
I'm not sure if you can LISTEN
on UDP as UDP is stateless.
LISTEN
to my understanding, is the state used by TCP to allow a server to listen for incoming connections and isn't used with UDP, because a UDP socket is always technically listening
Tested versions
System information
Godot v4.3.dev6.mono - Fedora Linux 38 (Workstation Edition) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 580 Series (RADV POLARIS10) () - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)
Issue description
CreateServer() does not create a listen socket as it should. I have tried with versions 4.2.2, 4.0, on different computers and on GD only builds, but it concluded with same results. It also returns OK. Therefore I can't connect to the server.
To check what ports are listen I'm running command
sudo netstat -tulpn
and result of this command is this:Console is clear and it does not give any errors
Steps to reproduce
Minimal reproduction project (MRP)
reproduction project.zip