# Class TRAWBlockSocket

Description | Hierarchy | Fields | Methods | Properties

## Unit

blcksock

## Declaration

`type TRAWBlockSocket = class(TBlockSocket)`

## Description

Implementation of RAW socket.

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

## Hierarchy

- TObject
- TBlockSocket
- TRAWBlockSocket

## 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 RAW returns IPPROTO_RAW.

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