Removes a listener previously registered with on_send or on_receive, using the id that call returned.
RakNet is off by default. The library exists only when the RakNet feature is enabled in the Athena loader, and it is published on getgenv() rather than as a plain global. Guard your code with if getgenv().raknet then ... end, or read raknet.is_enabled.

Parameters

number
required
The listener id.

Behavior

Example

Errors