API Winsock
Declare Function htons Lib "wsock32" _ (ByVal hostshort As Integer) As Integer
hostshort : entier local à convertir retour : entier réseau
saServer.sin_port = htons(2000)