# 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

- TObject
- TBlockSocket
- TSocksBlockSocket
- TDgramBlockSocket
- TICMPBlockSocket

## Overview

### Methods

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

## Description

### Methods

| `function GetSocketType: integer; override;`

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

| `function GetSocketProtocol: integer; override;`

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

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