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:52] – [Aufruf mit Übergabe-Parametern] omdevelop | module:python:udpclientserver:udpclientserverbidirectional [2022/09/13 11:58] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
* UdpClient ohne Blocking | * UdpClient ohne Blocking | ||
* Identische SourceCodes in zwei Terminals mit unterschiedlichen Übergabe-Parametern | * Identische SourceCodes in zwei Terminals mit unterschiedlichen Übergabe-Parametern | ||
+ | |||
+ | 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: | ==== Single PC: Aufruf ohne Übergabe-Parameter: | ||
Line 45: | Line 53: | ||
</ | </ | ||
- | ==== Aufruf an alle UdpReceiver ==== | + | ==== Single PC: Aufruf an alle UdpReceiver ==== |
* Sendung an alle IPAddresses[192.168.178.255] (auch an sich selbst!) | * Sendung an alle IPAddresses[192.168.178.255] (auch an sich selbst!) | ||
* Rx-Port[4321] und Tx-Port[4321] identisch | * Rx-Port[4321] und Tx-Port[4321] identisch | ||
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.1639255922.txt.gz · Last modified: 2021/12/11 22:52 (external edit)