---
title: "RakNet"
description: "Outgoing packet callbacks and native transport."
icon: "network"
---

## Available functions

<div className="byte-function-directory">
<CardGroup cols={2}>
  <Card title="raknet.add_send_hook" href="/reference/raknet/raknet-add_send_hook">
    Registers a callback for outgoing native sends.
  </Card>
  <Card title="raknet.remove_send_hook" href="/reference/raknet/raknet-remove_send_hook">
    Removes the first matching send-hook callback by function identity.
  </Card>
  <Card title="raknet.send" href="/reference/raknet/raknet-send">
    Sends a nonempty payload through the initialized native RakNet peer.
  </Card>
  <Card title="RakNetPacket.Block" href="/reference/raknet/raknetpacket-block">
    Blocks the current native send and skips subsequent send callbacks.
  </Card>
  <Card title="RakNetPacket.SetData" href="/reference/raknet/raknetpacket-setdata">
    Replaces the current outgoing payload.
  </Card>
</CardGroup>
</div>

[View types and behavior](/reference/raknet/types)
