help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes] Reference for unit 'blcksock' (#synapse)

TBlockSocket

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: blcksock.pas line 251

type TBlockSocket = class(TObject)

protected

  FSocket: TSocket;

  FLastError: Integer;

  FLastErrorDesc: String;

  procedure SetDelayedOption();

  procedure DelayedOption();

  procedure ProcessDelayedOptions;

  procedure InternalCreateSocket();

  procedure SetSin();

  function GetSinIP();

  function GetSinPort();

  procedure DoStatus();

  procedure DoReadFilter();

  procedure DoWriteFilter();

  procedure DoCreateSocket;

  procedure LimitBandwidth();

  procedure SetBandwidth();

  function TestStopFlag;

public

  constructor Create;

  constructor CreateAlternate();

  destructor Destroy; override;

  procedure CreateSocket;

  procedure CreateSocketByName();

  procedure CloseSocket; virtual;

  procedure AbortSocket; virtual;

  procedure Bind();

  procedure Connect(); virtual;

  function SendBuffer(); virtual;

  procedure SendByte(); virtual;

  procedure SendString(); virtual;

  procedure SendInteger(); virtual;

  procedure SendBlock(); virtual;

  procedure SendStreamRaw(); virtual;

  procedure SendStream(); virtual;

  procedure SendStreamIndy(); virtual;

  function RecvBuffer(); virtual;

  function RecvBufferEx(); virtual;

  function RecvBufferStr(); virtual;

  function RecvByte(); virtual;

  function RecvInteger(); virtual;

  function RecvString(); virtual;

  function RecvTerminated(); virtual;

  function RecvPacket(); virtual;

  function RecvBlock(); virtual;

  procedure RecvStreamRaw(); virtual;

  procedure RecvStreamSize();

  procedure RecvStream(); virtual;

  procedure RecvStreamIndy(); virtual;

  function PeekBuffer(); virtual;

  function PeekByte(); virtual;

  function WaitingData; virtual;

  function WaitingDataEx;

  procedure Purge;

  procedure SetLinger();

  procedure GetSinLocal;

  procedure GetSinRemote;

  procedure GetSins;

  function SockCheck();

  procedure ExceptCheck;

  function LocalName;

  procedure ResolveNameToIP();

  function ResolveName();

  function ResolveIPToName();

  function ResolvePort();

  procedure SetRemoteSin();

  function GetLocalSinIP; virtual;

  function GetRemoteSinIP; virtual;

  function GetLocalSinPort; virtual;

  function GetRemoteSinPort; virtual;

  function CanRead(); virtual;

  function CanReadEx(); virtual;

  function CanWrite(); virtual;

  function SendBufferTo(); virtual;

  function RecvBufferFrom(); virtual;

  function GroupCanRead();

  procedure EnableReuse();

  procedure SetTimeout();

  procedure SetSendTimeout();

  procedure SetRecvTimeout();

  function StrToIP6();

  function IP6ToStr();

  function GetSocketType; virtual;

  function GetSocketProtocol; virtual;

  property WSAData: TWSADATA; [r]

  property LocalSin: TVarSin; [rw]

  property RemoteSin: TVarSin; [rw]

  property Socket: TSocket; [rw]

  property LastError: Integer; [r]

  property LastErrorDesc: String; [r]

  property LineBuffer: String; [rw]

  property SizeRecvBuffer: Integer; [rw]

  property SizeSendBuffer: Integer; [rw]

  property NonBlockMode: Boolean; [rw]

  property TTL: Integer; [rw]

  property IP6used: Boolean; [r]

  property RecvCounter: Integer; [r]

  property SendCounter: Integer; [r]

published

  function GetErrorDesc();

  property Tag: Integer; [rw]

  property RaiseExcept: Boolean; [rw]

  property MaxLineLength: Integer; [rw]

  property MaxSendBandwidth: Integer; [rw]

  property MaxRecvBandwidth: Integer; [rw]

  property MaxBandwidth: Integer; [w]

  property ConvertLineEnd: Boolean; [rw]

  property Family: TSocketFamily; [rw]

  property PreferIP4: Boolean; [rw]

  property InterPacketTimeout: Boolean; [rw]

  property SendMaxChunk: Integer; [rw]

  property StopFlag: Boolean; [rw]

  property OnStatus: THookSocketStatus; [rw]

  property OnReadFilter: THookDataFilter; [rw]

  property OnWriteFilter: THookDataFilter; [rw]

  property OnCreateSocket: THookCreateSocket; [rw]

end;

Inheritance

TBlockSocket

|

TObject

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505