Aide:TCPStartup.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
TCPStartup, UDPStartup

###Description###
Starts TCP or UDP services.


###Syntax###
TCPStartup ( )
UDPStartup ( )


###Parameters###
None.


###ReturnValue###
@@ReturnTable@@
Success:	Returns 1.
Failure:	Returns 0 and set @error.
@error:	windows API WSAStartup return value (see <a href="http://msdn.microsoft.com/en-us/library/ms742213.aspx">MSDN</a>).
@@End@@


###Remarks###
There must be a TCPShutdown() call to avoid memory consomption.
A script must call one TCPShutdown() call for every successful TCPStartup() call.
UDPStartup() is just an alias of TCPStartup().


###Related###
TCPShutdown, TCPListen, TCPCloseSocket, UDPCloseSocket, TCPAccept, TCPConnect, TCPNameToIP, TCPRecv, TCPSend


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


Document traduit V3.3.6.1 :

###Function###
TCPStartup, UDPStartup

###Description###
Démarre les services TCP ou UDP.


###Syntax###
TCPStartup ( )
UDPStartup ( )


###Parameters###
Aucun.


###ReturnValue###
@@ReturnTable@@
Succès:	Retourne 1.
Échec:	Retourne 0 et met @error <> 0.
@error:	Valeur de retour de l'API windows WSAStartup (Voir <a href="http://msdn.microsoft.com/en-us/library/ms742213.aspx">MSDN</a>).
@@End@@


###Remarks###
Il doit y avoir un appel à TCPShutdown pour éviter une consommation de mémoire.
Un script doit appeler un TCPShutdown() pour chaque appel réussi à un TCPStartup().
UDPStartup() n'est qu'un alias à TCPStartup().


###Related###
<a href="TCPShutdown.htm">TCPShutdown</a>, <a href="TCPListen.htm">TCPListen</a>, <a href="TCPCloseSocket.htm">TCPCloseSocket</a>, <a href="UDPCloseSocket.htm">UDPCloseSocket</a>, <a href="TCPAccept.htm">TCPAccept</a>, <a href="TCPConnect.htm">TCPConnect</a>, <a href="TCPNameToIP.htm">TCPNameToIP</a>, <a href="TCPRecv.htm">TCPRecv</a>, <a href="TCPSend.htm">TCPSend</a>


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


Traducteur : TommyDDR

Contributeurs (pour les modifications avant le Wiki) : Tlem