if `window.h` included before, will have redefined errors. it can be solved by using `winsock` instead of `winsock2` http://stackoverflow.com/questions/39849684/header-correct-but-compile-erroridentifier-not-found/39867561#39867561