{% extends "global/layout.html" %} {% block title %}{% trans %}Datagram Specification{% endtrans %}{% endblock %} {% block lastupdated %}{% trans %}July 2014{% endtrans %}{% endblock %} {% block accuratefor %}0.9.14{% endblock %} {% block content %}
{% trans -%} See the Datagrams page for an overview of the Datagrams API. {%- endtrans %}
{% trans -%} Non-repliable datagrams have no 'from' address and are not authenticated. They are also called "raw" datagrams. Strictly speaking, they are not "datagrams" at all, they are just raw data. They are not handled by the datagram API. However, SAM and the I2PTunnel classes support "raw datagrams". {%- endtrans %}
{% trans tunnelmessage=site_url('docs/spec/tunnel-message'), transports=site_url('docs/transport') -%} The practical length is limited by lower layers of protocols - the tunnel message spec limits messages to about 61.2 KB and the transports currently limit messages to about 32 KB, although this may be raised in the future. {%- endtrans %}
{% trans -%} Repliable datagrams contain a 'from' address and a signature. These add at least 427 bytes of overhead. {%- endtrans %}