Research Article

A DHT-Based Discovery Service for the Internet of Things

Pseudocode 1

Input:
minimum derived key L ( )
maximum derived key H ( ),
Output:
relaxed maximal common prefix ( ) with
counter ;
counter ;
WHILE ( AND ) DO
{
IF THEN ;
IF AND THEN . (where. is the wildcard bit);
;
;
}