Discuss this help topic in SecureBlackbox Forum

TElSocket.Close

TElSocket     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Closes the socket.

Declaration

[C#]
    void Close(bool Forced);
    void Close(bool Forced, int Timeout);
    void Close(bool Forced, int Timeout, bool Gradually);

[VB.NET]
    Sub Close(ByVal Forced As Boolean)
    Sub Close(ByVal Forced As Boolean, ByVal Timeout As Integer)
    Sub Close(ByVal Forced As Boolean, ByVal Timeout As Integer, ByVal Gradually As Boolean)

[Pascal]
    procedure Close(Forced : boolean);

[C++]
    void Close(bool Forced);
    void Close(bool Forced, int32_t Timeout);
    void Close(bool Forced, int32_t Timeout, bool Gradually);

[PHP]
    void Close(bool $Forced)
    void Close(bool $Forced, integer $Timeout)
    void Close(bool $Forced, integer $Timeout, bool $Gradually)

[Java]
    void close(boolean Forced);
    void close(boolean Forced, int Timeout);
    void close(boolean Forced, int Timeout, boolean Gradually);

Parameters

  • Forced - set this parameter to True to close the socket without a TCP "goodbye" phase.
  • Timeout - ...
  • Gradually - ...

Description

    Use this method to close the socket.

See also:     Connect     ShutdownSocket    

Discuss this help topic in SecureBlackbox Forum