Aide:TCPNameToIP.txt

De Wiki AutoIt Français
Aller à la navigation Aller à la recherche

Document original V3.3.6.1 :

###Function###
TCPNameToIP

###Description###
Converts an Internet name to IP address.

###Syntax###
TCPNameToIP ( name )


###Parameters###
@@ParamTable@@
name
	String containing an Internet name.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	Returns string containing IP address corresponding to the name.
Failure:	Returns "" and set @error.
@error:	windows API WSAGetError return value (see <a href="http://msdn.microsoft.com/en-us/library/ms740668.aspx">MSDN</a>).
@@End@@


###Remarks###
TCPStartup is needed before this call.


###Related###
TCPStartup


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
TCPNameToIP

###Description###
Convertit un nom de domaine en adresse IP.


###Syntax###
TCPNameToIP ( name )


###Parameters###
@@ParamTable@@
name
	Chaîne de caractères contenant le nom de domaine.
@@End@@


###ReturnValue###
@@ReturnTable@@
Succès:	Retourne une chaîne de caractères contenant l'adresse IP correspondant au nom de domaine.
Échec:	Retourne "" et met @error <> 0.
	Valeur de retour de l'API windows WSAStartup (Voir <a href="http://msdn.microsoft.com/en-us/library/ms740668.aspx">MSDN</a>).
@@End@@


###Remarks###
TCPStartup est requis avant un appel à cette fonction.


###Related###
<a href="TCPStartup.htm">TCPStartup/a>


###Example###
@@IncludeExample@@


Traducteur : TommyDDR

Contributeurs (pour les modifications avant le Wiki) : Tlem