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:43] – [Aufruf ohne Übergabe-Parameter:] 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 | ||
| <code python> | <code python> | ||
| >python UdpClientServer.py Windows 4321 192.168.178.33 4321 | >python UdpClientServer.py Windows 4321 192.168.178.33 4321 | ||
| - | *** PcUdpClientServerThread: begin | + | *** UdpClientServer: begin |
| Windows: TxIP-Address[192.168.178.33]-Port[4321] | Windows: TxIP-Address[192.168.178.33]-Port[4321] | ||
| Windows: RxIP(local)-Address[192.168.178.33]-Port[4321] | Windows: RxIP(local)-Address[192.168.178.33]-Port[4321] | ||
| Line 42: | Line 50: | ||
| CBOnTxData[Windows]< | CBOnTxData[Windows]< | ||
| CBOnRxData[Windows]< | CBOnRxData[Windows]< | ||
| - | *** PcUdpClientServerThread: end | + | *** UdpClientServer: |
| + | </ | ||
| + | |||
| + | ==== Single PC: Aufruf an alle UdpReceiver ==== | ||
| + | * Sendung an alle IPAddresses[192.168.178.255] (auch an sich selbst!) | ||
| + | * Rx-Port[4321] und Tx-Port[4321] identisch | ||
| + | <code python> | ||
| + | >python UdpClientServer.py Windows 4321 192.168.178.255 4321 | ||
| + | *** UdpClientServer: | ||
| + | Windows: TxIP-Address[192.168.178.255]-Port[4321] | ||
| + | Windows: RxIP(local)-Address[192.168.178.33]-Port[4321] | ||
| + | CBOnTxData[Windows]< | ||
| + | CBOnRxData[Windows]< | ||
| + | CBOnTxData[Windows]< | ||
| + | CBOnRxData[Windows]< | ||
| + | CBOnTxData[Windows]< | ||
| + | CBOnRxData[Windows]< | ||
| + | *** UdpClientServer: end | ||
| </ | </ | ||
| + | ==== 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.1639255401.txt.gz · Last modified: 2021/12/11 22:43 (external edit)