Class TDgramBlockSocket

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TDgramBlockSocket = class(TSocksBlockSocket)

Description

Datagram based communication

This class implementing datagram based communication instead default stream based communication style.

Hierarchy

Overview

Methods

Public procedure Connect(IP, Port: string); override;
Public function SendBuffer(Buffer: TMemory; Length: Integer): Integer; override;
Public function RecvBuffer(Buffer: TMemory; Length: Integer): Integer; override;

Description

Methods

Public procedure Connect(IP, Port: string); override;

Fill TBlockSocket.RemoteSin structure. This address is used for sending data.

Public function SendBuffer(Buffer: TMemory; Length: Integer): Integer; override;

Silently redirected to TBlockSocket.SendBufferTo.

Public function RecvBuffer(Buffer: TMemory; Length: Integer): Integer; override;

Silently redirected to TBlockSocket.RecvBufferFrom.


Generated by PasDoc 0.9.0 on 2012-04-23 21:38:50