Discuss this help topic in SecureBlackbox Forum

TElSocket.Close

TElSocket     See also     


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


Closes the socket.

Declaration

[C#/Java]
    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)

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