# 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

- TObject
- TBlockSocket
- TSocksBlockSocket
- TDgramBlockSocket

## Overview

### Methods

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

## Description

### Methods

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

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

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

Silently redirected to TBlockSocket.SendBufferTo.

| `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