Aide:TCPCloseSocket.txt
De Wiki AutoIt Français
Document original V3.3.6.1 :
###Function###
TCPCloseSocket
###Description###
Closes a TCP socket.
###Syntax###
TCPCloseSocket ( socket )
###Parameters###
@@ParamTable@@
socket
The socket identifier (SocketID) as returned by a <a href="TCPListen.htm">TCPListen</a> or <a href="TCPAccept.htm">TCPAccept</a> functions.
@@End@@
###ReturnValue###
@@ReturnTable@@
Success: Returns 1.
Failure: Returns 0 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###
None.
###Related###
TCPStartup, TCPListen, TCPAccept, TCPShutdown
###Example###
@@IncludeExample@@
Document traduit V3.3.6.1 :
###Function###
TCPCloseSocket
###Description###
Ferme une socket TCP.
###Syntax###
TCPCloseSocket ( socket )
###Parameters###
@@ParamTable@@
socket
L'Identifiant de la socket (SocketID) retournée par un appel à la fonction <a href="TCPListen.htm">TCPListen</a> ou <a href="TCPAccept.htm">TCPAccept</a>.
@@End@@
###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/ms740668.aspx">MSDN</a>).
@@End@@
###Remarks###
Aucune.
###Related###
<a href="TCPStartup.htm">TCPStartup</a>, <a href="TCPListen.htm">TCPListen</a>, <a href="TCPAccept.htm">TCPAccept</a>, <a href="TCPShutdown.htm">TCPShutdown</a>
###Example###
@@IncludeExample@@
Traducteur :
Contributeurs (pour les modifications avant le Wiki) :