summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-05-06 17:22:58 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-05-06 17:22:58 +0200
commit3dc74c15f76e999768643ed4381196292d5376bc (patch)
tree0540853e389062d81084f9735a521b8b6e58feaf /doc
parent956814cc526bdd245e52c5004bf5661a57d848cc (diff)
downloaddabmux-3dc74c15f76e999768643ed4381196292d5376bc.tar.gz
dabmux-3dc74c15f76e999768643ed4381196292d5376bc.tar.bz2
dabmux-3dc74c15f76e999768643ed4381196292d5376bc.zip
EDI: Implement TCP output
Diffstat (limited to 'doc')
-rw-r--r--doc/advanced.mux18
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/advanced.mux b/doc/advanced.mux
index c2a4411..fb67b82 100644
--- a/doc/advanced.mux
+++ b/doc/advanced.mux
@@ -388,12 +388,14 @@ outputs {
example_unicast {
; example for unicast EDI over UDP
; for unicast EDI, do not set source
+ protocol udp
destination "192.168.23.23"
sourceport 13000
}
example_multicast {
; example for multicast EDI, the source IP is required
; so that the data is sent on the correct ethernet interface
+ protocol udp
destination "232.20.10.1"
source "192.168.0.50"
; The multicast TTL has to be adapted according to your network
@@ -401,8 +403,20 @@ outputs {
sourceport 13000
}
-
- ; EDI over TCP is not supported
+ example_tcp {
+ ; example for EDI TCP server. TCP is reliable, so it is counterproductive to
+ ; use FEC. Using PFT also brings no benefit.
+ protocol tcp
+ listenport 13000
+
+ ; For every connected endpoint, a queue is created. If the queue overflows, we
+ ; assume the endpoint has a problem, and we close the connection. This sets
+ ; the max queue size in number of frames. With PFT disabled, one frame is generated
+ ; every 24ms. With PFT enabled, it depends on fragmentation and FEC settings.
+ ;
+ ; default value: 500 frames, without PFT: 12s worth of EDI data
+ ;max_frames_queued 500
+ }
}
; The settings below apply to all destinations