Python 3 port scanner

I need a python 3 script that scans the local network for alive host and checks if those alive hosts have the 9100 port open, only using the socket library. Can someome help me? Thank you very much :D. (i'm sorry for eventual grammar's errors i'm not english)

3rd Dec 2016, 4:35 PM
frephs - avatar
1 ответ
+ 2
use python-nmap - module for accessing nmap functionality. nmap is a network scanner utility, very popular tool for this purpose.
3rd Dec 2016, 9:28 PM
Demeth - avatar