Difference between revisions of "Unit RAW"
From Ultibo.org
Line 53: | Line 53: | ||
---- | ---- | ||
− | '' | + | |
+ | '''Raw packet''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial;"> | ||
+ | <code>PRAWPacket = ^TRAWPacket;</code> | ||
+ | |||
+ | <code>TRAWPacket = record</code> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | |colspan="2"|Note: Some RAW definitions are in the Protocol or IP modules | ||
+ | |- | ||
+ | |colspan="2"|Note: 8 Bytes (Used by RAWBuffer) | ||
+ | |- | ||
+ | | <code>Size:LongWord;</code> | ||
+ | | LongWord to keep size even | ||
+ | |- | ||
+ | | <code>Next:PRAWPacket;</code> | ||
+ | | Followed by RemoteAddress (4 or 16 Bytes) | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Class definitions === | === Class definitions === |
Revision as of 03:13, 25 January 2017
Return to Unit Reference
Contents
Description
Ultibo Raw Socket Protocol unit
To be documented
Constants
Raw specific constants
RAW_*
Note: Some RAW definitions are in the Protocol or IP modules | |
IP_PROTOCOL_NAME = 'IP';
|
|
RAW_PROTOCOL_NAME = 'RAW';
|
|
RAW_TIMEOUT = 0;
|
Wait forever on a RAW Read |
RAW_BUFFER_SIZE = 65536;
|
RAW Receive Buffer Size |
RAW_HEADER_SIZE = 0;
|
No Header for RAW |
RAW_PACKET_SIZE = 8;
|
SizeOf(TRAWPacket) |
Type definitions
Raw packet
PRAWPacket = ^TRAWPacket;
TRAWPacket = record
Note: Some RAW definitions are in the Protocol or IP modules | |
Note: 8 Bytes (Used by RAWBuffer) | |
Size:LongWord;
|
LongWord to keep size even |
Next:PRAWPacket;
|
Followed by RemoteAddress (4 or 16 Bytes) |
Class definitions
To be documented
Public variables
None defined
Function declarations
Initialization functions
procedure RAWInit;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference