it compiles and runs fine under cygwin and can run under windows if cygwin1.dll is put in the path.

if you dont want to go threw all the trouble use NetCat:

echo quit |nv -vv xxx.xx.xxx.xx 21, 25, 80, 110 (whatever)

not quite as good but it gets the job done