TCP/IP communication timing measurements between two LM - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: TCP/IP communication timing measurements between two LM (/showthread.php?tid=1963) |
TCP/IP communication timing measurements between two LM - CHOUAIBOU - 13.03.2019 Hi, In the network tool of the LM settings tab, it is possible to ping DNS or external IP addresses and get the response time from the remote server displayed localy in ms. It is possible to use protocole analyzer as wireshark, but I need a custom solution running on/for LM My questions are : - Is it possible to write a script to send file (from user FTP server) with a known size to a remote LM and log the time the message takes to be sent and the time we get the reply via switches or routers ? If yes, what is the solution ? - How accurate is this measurement ? B.R, Chouaibou. RE: TCP/IP communication timing measurements between two LM - admin - 13.03.2019 You can measure how long any function call takes like this: Code: ts, tu = os.microtime() For speed testing you can load a file with known size to calculate network speed, but what is the point of such test? RE: TCP/IP communication timing measurements between two LM - CHOUAIBOU - 13.03.2019 (13.03.2019, 11:58)admin Wrote: You can measure how long any function call takes like this: Hi admin, Thank you for your reply. I just want to use LM resources to perform communication bandwidth tests if possible, instead of using two computers. B.R, Chouaibou. |