# Class TDgramBlockSocket

Description | Hierarchy | Fields | Methods | Properties

## Unit

blcksock

## Declaration

`type TDgramBlockSocket = class(TSocksBlockSocket)`

## Description

Datagram based communication

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

## Hierarchy

TDgramBlockSocket > TSocksBlockSocket > TBlockSocket > TObject

## Methods

### Overview

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

### Description

| `procedure Connect(IP, Port: string); override;`

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

| `function RecvBuffer(Buffer: TMemory; Length: Integer): Integer; override;`

Silently redirected to RecvBufferFrom.

| `function SendBuffer(Buffer: TMemory; Length: Integer): Integer; override;`

Silently redirected to SendBufferTo.

Generated by PasDoc 0.8.8.2 on 2005-01-19 20:01:17