module:python:udpclientserver:udpclientserverbidirectional
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
module:python:udpclientserver:udpclientserverbidirectional [2021/12/11 21:49] – [Aufruf an alle UdpReceiver] omdevelop | module:python:udpclientserver:udpclientserverbidirectional [2022/09/13 11:58] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 16: | Line 16: | ||
* Identische SourceCodes in zwei Terminals mit unterschiedlichen Übergabe-Parametern | * Identische SourceCodes in zwei Terminals mit unterschiedlichen Übergabe-Parametern | ||
- | ==== Aufruf ohne Übergabe-Parameter: | + | Aufruf in der Kommandozeile mit Argumenten: \\ |
+ | ** python CheckUdpClientServer.py < | ||
+ | \\ | ||
+ | Beispiel: | ||
+ | < | ||
+ | >python CheckUdpClientServer.py PCID 5555 192.168.178.123 4444 | ||
+ | </ | ||
+ | |||
+ | ==== Single PC: Aufruf ohne Übergabe-Parameter: | ||
<code python> | <code python> | ||
>python UdpClientServer.py | >python UdpClientServer.py | ||
Line 28: | Line 36: | ||
</ | </ | ||
- | ==== Aufruf mit Übergabe-Parametern ==== | + | ==== Single PC: Aufruf mit Übergabe-Parametern ==== |
* Sender / Empfänger mit identischer IPAddress[192.168.178.33](lokal) | * Sender / Empfänger mit identischer IPAddress[192.168.178.33](lokal) | ||
* Rx-Port[4321] und Tx-Port[4321] identisch | * Rx-Port[4321] und Tx-Port[4321] identisch | ||
Line 45: | Line 53: | ||
</ | </ | ||
- | ==== Aufruf an alle UdpReceiver ==== | + | ==== Single PC: Aufruf an alle UdpReceiver ==== |
- | * Sendung an alle IPAddresses[192.168.178.255] | + | * Sendung an alle IPAddresses[192.168.178.255] |
* Rx-Port[4321] und Tx-Port[4321] identisch | * Rx-Port[4321] und Tx-Port[4321] identisch | ||
<code python> | <code python> | ||
Line 62: | Line 70: | ||
</ | </ | ||
+ | ==== Dual PC: ==== | ||
+ | === WindowPC[192.168.178.33] === | ||
<code python> | <code python> | ||
+ | >python CheckUdpClientServer.py Windows 5001 192.168.178.48 5000 | ||
+ | *** CheckUdpClientServer: | ||
+ | Windows: TxIP-Address[192.168.178.48]-Port[5000] | ||
+ | Windows: RxIP(local)-Address[192.168.178.33]-Port[5001] | ||
+ | CBOnRxData[Windows]< | ||
+ | CBOnTxData[Windows]< | ||
+ | CBOnRxData[Windows]< | ||
+ | CBOnTxData[Windows]< | ||
+ | CBOnRxData[Windows]< | ||
+ | CBOnTxData[Windows]< | ||
+ | CBOnRxData[Windows]< | ||
+ | CBOnTxData[Windows]< | ||
+ | CBOnRxData[Windows]< | ||
+ | CBOnTxData[Windows]< | ||
+ | CBOnRxData[Windows]< | ||
+ | CBOnTxData[Windows]< | ||
+ | *** CheckUdpClientServer: | ||
</ | </ | ||
+ | |||
+ | === UbuntuPC[192.168.178.48] === | ||
<code python> | <code python> | ||
+ | >python CheckUdpClientServer.py Ubuntu | ||
+ | *** CheckUdpClientServer: | ||
+ | Ubuntu: TxIP-Address[192.168.178.33]-Port[5001] | ||
+ | Ubuntu: RxIP(local)-Address[192.168.178.48]-Port[5000] | ||
+ | CBOnTxData[Ubuntu]< | ||
+ | CBOnTxData[Ubuntu]< | ||
+ | CBOnRxData[Ubuntu]< | ||
+ | CBOnTxData[Ubuntu]< | ||
+ | CBOnRxData[Ubuntu]< | ||
+ | CBOnRxData[Ubuntu]< | ||
+ | CBOnTxData[Ubuntu]< | ||
+ | CBOnRxData[Ubuntu]< | ||
+ | CBOnTxData[Ubuntu]< | ||
+ | CBOnRxData[Ubuntu]< | ||
+ | CBOnTxData[Ubuntu]< | ||
+ | *** CheckUdpClientServer: | ||
</ | </ | ||
module/python/udpclientserver/udpclientserverbidirectional.1639255756.txt.gz · Last modified: 2021/12/11 22:49 (external edit)