From 1fe01d7d24e45efe6ea46636e761279f2c9c7698 Mon Sep 17 00:00:00 2001
From: zzz
Date: Mon, 4 Jan 2016 16:51:10 +0000
Subject: [PATCH] sam tweaks
---
i2p2www/pages/site/docs/api/samv3.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/i2p2www/pages/site/docs/api/samv3.html b/i2p2www/pages/site/docs/api/samv3.html
index 254dc6f2..9bd80608 100644
--- a/i2p2www/pages/site/docs/api/samv3.html
+++ b/i2p2www/pages/site/docs/api/samv3.html
@@ -325,6 +325,8 @@ received through other forms are answered with an error message) :
STYLE={STREAM,DATAGRAM,RAW}
ID=$nickname
DESTINATION={$privkey,TRANSIENT}
+ [PORT=$port] # Required for DATAGRAM and RAW, invalid for STREAM
+ [HOST=$host] # Optional for DATAGRAM and RAW, invalid for STREAM
[FROM_PORT=nnn] # SAM 3.2 or higher only, default 0
[TO_PORT=nnn] # SAM 3.2 or higher only, default 0
[PROTOCOL=nnn] # SAM 3.2 or higher only, for STYLE=RAW only, default 18
@@ -846,6 +848,7 @@ The UDP packet contains the following data:
$datagram_payload
+
As of SAM 3.2, when HEADER=true is specified in SESSION CREATE,
the forwarded raw datagram will be prepended with a header line as follows: