Skip to content

UDPSocket.onClose ​

js
    UDPSocket.onClose(function callback)

Listens for the close event.

Parameters

  • function callback: the callback function for the close event