sam tweaks

This commit is contained in:
zzz
2016-01-04 16:51:10 +00:00
parent 57ec5244df
commit 1fe01d7d24

View File

@ -325,6 +325,8 @@ received through other forms are answered with an error message) :
STYLE={STREAM,DATAGRAM,RAW} STYLE={STREAM,DATAGRAM,RAW}
ID=$nickname ID=$nickname
DESTINATION={$privkey,TRANSIENT} 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 [FROM_PORT=nnn] # SAM 3.2 or higher only, default 0
[TO_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 [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 $datagram_payload
</pre> </pre>
</p><p>
As of SAM 3.2, when HEADER=true is specified in SESSION CREATE, 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: the forwarded raw datagram will be prepended with a header line as follows: