How would one go about retrieving a network device\'s netmask (In Linux preferably, but if it\'s cross-platform then cool)? I know how in C on Linux but I can\'t find a way
You can use this library: http://github.com/rlisagor/pynetlinux. Note: I'm the author of the library.