Skip to content

An echo server program. Can listen to UDP messages on specific IP and port and reply a same message back to the client.

Notifications You must be signed in to change notification settings

kimi0230/echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo Server using C

An echo server program. Can listen to UDP messages on specific IP and port and reply a same message back to the client.

Demo video : https://drive.google.com/file/d/19mc1pOpWGP7KSwdaHvlrofD8JuqNdQYx/view?usp=share_link

demo.mp4

Build Code

Generate 2 files under bin folder: server and client

make clean build

Start server

./server <ip> <port>

Example:

./bin/server 127.0.0.1 5000 Hello

server

Run client

./client <ip> <port> <message>

Example:

./bin/client 127.0.0.1 5000 Hello

client

Demo

Send successfully demo-send

Retry demo-retry

Reference

About

An echo server program. Can listen to UDP messages on specific IP and port and reply a same message back to the client.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published