import nativesockets
    

which is cross-platform and has ntohl/htonl declarations. Also github search in 
project for htonl/ntohl or any other procedure can help you in future.

Reply via email to