Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 387 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 387 Bytes

Ping Server for linux

a ping server for linux ,receive ECHO Request package then send ECHO Reply package to remote ping process.

Linux下的ping服务端,接收ping回应请求,然后回复该请求

Usage:

  • Server
# echo "1">/proc/sys/net/ipv4/icmp_echo_ignore_all`
# gcc -o ping_server ping_server.c
# ./ping_server
  • Client

C:\> ping.exe x.x.x.x

Good Luck