You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you, I'm sorry, I don't think I understand, the linked documentation only references PacketPeerUDP and not UDPServer, should I only be using PacketPeerUDP even though I don't intend to send packets, only receive?
extends Node
var socket = PacketPeerUDP.new()
func _ready():
if socket.bind(4592,"*") != OK:
print("Failed to bind to port 4592")
return
else:
print('started on port 4592')
while socket.wait() == OK:
var data = socket.get_packet().get_string_from_ascii()
print(data)
if data == "end":
return
Godot version
Godot 4 Beta 5
System information
Windows 10
Issue description
packet message is not received, no errors in Godot 4
packet message is printed in Godot 3.5
Steps to reproduce
Minimal reproduction project
udp_demo_godot3_working.zip
udp_demo_4_broken.zip
The text was updated successfully, but these errors were encountered: