Click or drag to resize

UDPServerPoll Method

Call this method at regular intervals (e.g. inside _Process(Single)) to process new packets. And packet from known address/port pair will be delivered to the appropriate PacketPeerUDP, any packet received from an unknown address/port pair will be added as a pending connection (see IsConnectionAvailable, TakeConnection). The maximum number of pending connection is defined via MaxPendingConnections.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error Poll()

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.UDPServer.Poll"]

See Also