This is the library i am using: WS2tcpip.h.
It works when i package for windows, but not for HTML5. Thanks!.