Skip to content
/ pingser Public

Use pingser to create client and server based on ICMP Protocol to send and receive custom message content.

License

Notifications You must be signed in to change notification settings

ac0d3r/pingser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pingser

Use pingser to create client and server based on ICMP Protocol to send and receive custom message content.

examples

source code: ./examples

Usage:

  • 需要准备一台公网 IP 的 linux 主机运行server

  • 修改 client.go 文件中 pingser.NewClient("xxx.xxx.xxx.xxx")xxx 地址 & 再本地运行

  • 可选)禁用系统默认ping: echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

About

Use pingser to create client and server based on ICMP Protocol to send and receive custom message content.

Topics

Resources

License

Stars

Watchers

Forks