Aide:UDPCloseSocket.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
UDPCloseSocket
###Description###
Close a UDP socket.
###Syntax###
UDPCloseSocket ( socketarray )
###Parameters###
@@ParamTable@@
socketarray
The socket/array as returned by a <a href="UDPBind.htm">UDPBind</a> or <a href="UDPOpen.htm">UDPOpen</a> functions.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns 1.
Failure: Returns 0 and set @error.
@error: -1, -2 or -3 invalid socketarray.
windows API WSAGetError return value (see <a href="http://msdn.microsoft.com/en-us/library/ms740668.aspx">MSDN</a>).
@@End@@
###Remarks###
None.
###Related###
UDPBind, UDPOpen, TCPShutdown, TCPStartup
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
UDPCloseSocket
###Description###
Ferme une socket UDP.
###Syntax###
UDPCloseSocket ( socketarray )
###Parameters###
@@ParamTable@@
socketarray
La socket ou le tableau retourné par les fonctions <a href="UDPBind.htm">UDPBind</a> ou <a href="UDPOpen.htm">UDPOpen</a>.
@@End@@
###ReturnValue###
@@ReturnTable@@
Succès: Retourne 1.
Échec: Retourne 0 et fixe @error.
@error: -1, -2 ou -3 socket ou tableau invalide.
Valeur de retour de l'API Windows WSAGetError (Voir <a href="http://msdn.microsoft.com/en-us/library/ms740668.aspx">MSDN</a>).
@@End@@
###Remarks###
Aucune.
###Related###
<a href="UDPBind.htm">UDPBind</a>, <a href="UDPOpen.htm">UDPOpen</a>, <a href="TCPShutdown.htm">TCPShutdown</a>, <a href="TCPStartup.htm">TCPStartup</a>
###Example###
@@IncludeExample@@
Traducteur : Jerome
Contributeurs (pour les modifications avant le Wiki) : Tlem