TROSocket

Overview

Location

 

constructor Create

constructor Create

AbortSocket

procedure AbortSocket

Accept

function Accept: THandle

Bind

procedure Bind(IP: string; Port: Word)

Parameters:

  • IP:
  • Port:

CanRead

function CanRead(aTimeout: Integer): Boolean

Parameters:

  • aTimeout:

CloseSocket

procedure CloseSocket

Connect

procedure Connect(IP: string; Port: Word)

Parameters:

  • IP:
  • Port:

CreateSocket

procedure CreateSocket

ExceptCheck

procedure ExceptCheck

GetErrorDescEx

function GetErrorDescEx: string

GetLocalSinIP

function GetLocalSinIP: string

GetRemoteSinIP

function GetRemoteSinIP: string

GetSins

procedure GetSins

LastError

property LastError: Integer read write

LastErrorDesc

property LastErrorDesc: string read write

Listen

procedure Listen(aBacklog: Integer)

Parameters:

  • aBacklog:

Mode

property Mode: TROSocketMode read write

NoDelay

property NoDelay: Boolean read write

OpenSSL

property OpenSSL: TROOpenSSL read write

OpenSSL_Connect

procedure OpenSSL_Connect

PreferIP4

property PreferIP4: Boolean read write

RaiseExcept

property RaiseExcept: Boolean read write

RecvBufferEx

function RecvBufferEx(Buffer: Pointer; Len: Integer; aTimeout: Integer): Integer

Parameters:

  • Buffer:
  • Len:
  • aTimeout:

ResetLastError

procedure ResetLastError

SendBuffer

function SendBuffer(Buffer: Pointer; Len: Integer): Boolean

Parameters:

  • Buffer:
  • Len:

SockCheck

function SockCheck(SockResult: Integer): Integer

Parameters:

  • SockResult:

Socket

property Socket: THandle read write

 

LastError

property LastError: Integer read write

LastErrorDesc

property LastErrorDesc: string read write

Mode

property Mode: TROSocketMode read write

NoDelay

property NoDelay: Boolean read write

OpenSSL

property OpenSSL: TROOpenSSL read write

PreferIP4

property PreferIP4: Boolean read write

RaiseExcept

property RaiseExcept: Boolean read write

Socket

property Socket: THandle read write

 

constructor Create

constructor Create

AbortSocket

procedure AbortSocket

Accept

function Accept: THandle

Bind

procedure Bind(IP: string; Port: Word)

Parameters:

  • IP:
  • Port:

CanRead

function CanRead(aTimeout: Integer): Boolean

Parameters:

  • aTimeout:

CloseSocket

procedure CloseSocket

Connect

procedure Connect(IP: string; Port: Word)

Parameters:

  • IP:
  • Port:

CreateSocket

procedure CreateSocket

ExceptCheck

procedure ExceptCheck

GetErrorDescEx

function GetErrorDescEx: string

GetLocalSinIP

function GetLocalSinIP: string

GetRemoteSinIP

function GetRemoteSinIP: string

GetSins

procedure GetSins

Listen

procedure Listen(aBacklog: Integer)

Parameters:

  • aBacklog:

OpenSSL_Connect

procedure OpenSSL_Connect

RecvBufferEx

function RecvBufferEx(Buffer: Pointer; Len: Integer; aTimeout: Integer): Integer

Parameters:

  • Buffer:
  • Len:
  • aTimeout:

ResetLastError

procedure ResetLastError

SendBuffer

function SendBuffer(Buffer: Pointer; Len: Integer): Boolean

Parameters:

  • Buffer:
  • Len:

SockCheck

function SockCheck(SockResult: Integer): Integer

Parameters:

  • SockResult:

Descendants