Asichk is a program to monitorate tcp ports, written in C. It can log into a file and send errors (port closed or no response) to an email account by using a smtp server.