Discuss this help topic in SecureBlackbox Forum

TElSocketState

Declared in     


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


Specifies the state of the socket.

Declaration

[C#/Java]
    TElSocketState = int;
        const int issNotASocket = 0;
        const int issInitializing = 1;
        const int issInitialized = 2;
        const int issBound = 3;
        const int issConnected = 4;
        const int issListening = 5;
        const int issConnecting = 6;

[VB.NET]
    TElSocketState As Integer
        Const issNotASocket As Integer = 0
        Const issInitializing As Integer = 1
        Const issInitialized As Integer = 2
        Const issBound As Integer = 3
        Const issConnected As Integer = 4
        Const issListening As Integer = 5
        Const issConnecting As Integer = 6

[Pascal]
    TElSocketState = (issNotASocket, issInitializing, issInitialized, issBound, issConnected, issListening, issConnecting);

[C++]
    typedef uint8_t TElSocketStateRaw;
    typedef enum { issNotASocket = 0, issInitializing = 1, issInitialized = 2, issBound = 3, issConnected = 4, issListening = 5, issConnecting = 6 } TElSocketState;

[PHP]
    class TElSocketState extends TSBBaseEnum {
        const issNotASocket = 0;
        const issInitializing = 1;
        const issInitialized = 2;
        const issBound = 3;
        const issConnected = 4;
        const issListening = 5;
        const issConnecting = 6;
    }

Possible values


Declared in

.NET:
  • Namespace: SBSocket
  • Assembly: BaseBlackbox
VCL:
  • Unit: SBSocket
Java:
  • Package: BaseBlackbox.jar
C++:
  • sbsocket.h

Discuss this help topic in SecureBlackbox Forum