Giter VIP home page Giter VIP logo

udp-echo-plus's Introduction

udp-echo-plus

UDP ECHO PLUS client and server by Python

Copyright (C) Raymond Zhou 2018
E-Mail : raymond.zhoulei at gmail.com

Follow the Broadband Forum TR-143, A.1 UDP ECHO PLUS.

Server

Start a UDP Echo Plus server with the command
./udpecho_server.py -i 192.168.100.123 -p 30000 -u

Client

Start a UDP Echo Plus client with the data 'Hello,world!'
./udpecho_client.py -i 192.168.100.123 -p 30000 -u -d "Hello,world!" -t 3

Output

Server side

recv UDP Echo message from client ('192.168.100.83', 54142):Hello,world!
recv UDP Echo message from client ('192.168.100.83', 54142):Hello,world!
recv UDP Echo message from client ('192.168.100.83', 54142):Hello,world!
('192.168.100.83', 54142) has existed
UDPEchoConfig_PacketsReceived= 3
UDPEchoConfig_BytesReceived= 120
UDPEchoConfig_PacketsResponded= 3
UDPEchoConfig_BytesResponded= 120

Client side

connect to server: 192.168.100.123 30000
Send Echo Request Hello,world! to 12(32) bytes of data.
Reply from ('192.168.100.123', 30000): seq=1 bytes=32 rtd=1337us
Reply from ('192.168.100.123', 30000): seq=2 bytes=32 rtd=1310us
Reply from ('192.168.100.123', 30000): seq=3 bytes=32 rtd=1886us
RoundTripPacketLoss= 0
SentPacketLoss= 0
ReceivePacketLoss= 0

udp-echo-plus's People

Contributors

raymondnj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.