Skip to content

threes33/python-ping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

python-ping

This repository contains a simple example of using the IPPROTO_ICMP socket type from Python 3.

Note that to be able to use this, you may need to adjust the net.ipv4.ping_group_range sysctl option.

For example, to grant yourself access:

sudo sysctl -w "net.ipv4.ping_group_range=$(id -g) $(id -g)"

About

IPPROTO_ICMP python example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%