What it does
DeleteUDPListener removes a Multiplayer object: after it, the id names nothing. It takes listenerID (an integer), and returns nothing. listenerID is the id of a Listener object, obtained elsewhere in the Multiplayer family.
Syntax
DeleteUDPListener(listenerID integer)Parameters
| Name | Type |
|---|---|
| listenerID | integer |
Every form returns
nothing
Example · generated
listener = CreateUDPListener("value", 1)DeleteUDPListener(listener)DO Sync()LOOPCreateUDPListener is there to give the call something to act on; DeleteUDPListener is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.