# Class TICMPBlockSocket

Description | Hierarchy | Fields | Methods | Properties

## Unit

blcksock

## Declaration

`type TICMPBlockSocket = class(TDgramBlockSocket)`

## Description

Implementation of RAW ICMP socket.

For this object you must have rights for creating RAW sockets!

## Hierarchy

TICMPBlockSocket > TDgramBlockSocket > TSocksBlockSocket > TBlockSocket > TObject

## Methods

### Overview

| `function GetSocketProtocol: integer; override;`
| `function GetSocketType: integer; override;`

### Description

| `function GetSocketProtocol: integer; override;`

Return value of protocol type for socket creation. For ICMP returns IPPROTO_ICMP or IPPROTO_ICMPV6

| `function GetSocketType: integer; override;`

Return value of socket type. For RAW and ICMP return SOCK_RAW.

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