add getpinfo under win32 and linux, without bsd(macosx). comming soon.