### About

User Datagram Protocol (UDP) provides an easy way to communicate between two processes.
UDP is part of the transport layer of the TCP/IP protocol. Read more here:
https://en.wikibooks.org/wiki/Communication_Networks/TCP_and_UDP_Protocols
B4J Reference: https://www.b4x.com/b4j/help/jnetwork.html , select UDPSocket.
Hint to UDPSocket
UDPSocket Buffer Value
The buffer size can be set to any value based on the packet size.
Private UDPSocket1 As UDPSocket
Dim Port As Int = 3661
'UDP socket = EventName, Port, ReceiveBuffer
UDPSocket1.Initialize("UDP", Port, 8192)
UDPSocket Reopen after Close
If an UDPSocket is close, Dim the UDPSocket again.
Private UDPSocket1 As UDPSocket
Dim Port As Int = 3661
UDPSocket1.Close
Dim UDPSocket1 As UDPSocket
UDPSocket1.Initialize("UDP",Port, 8192)

Changed: , Category: UDP, File: T6C275M2032.htm, ID: 2032