Class TClientSocket (unit Socks)

Inherits from

TObject

Constructors


constructor Create;

--------------------- End of Server Socket inplementation ---------------} {--------------------- Client Socket implementation ----------------------


Functions

procedure Connect(adr: string; PORT: string);


destructor Destroy;


procedure Disconnect;


function read (var Buf; len: Word): Word;


procedure WaitForData;


procedure WaitForDataTime(A: Word);


function write (var Buf; len: Word): Word;


Properties

Events

Variables

sock : tSocket;


peerip : string;


peername : string;


portn : Word;



Constructors


constructor Create;

--------------------- End of Server Socket inplementation ---------------} {--------------------- Client Socket implementation ----------------------


Functions


procedure Connect(adr: string; PORT: string);


destructor Destroy;


procedure Disconnect;


function read (var Buf; len: Word): Word;


procedure WaitForData;


procedure WaitForDataTime(A: Word);


function write (var Buf; len: Word): Word;


Properties


Events


Variables


sock : tSocket;


peerip : string;


peername : string;


portn : Word;