Research Article

Multihop Data Delivery Virtualization for Green Decentralized IoT

Algorithm 2

Actions at each forwarder node upon reception of a packet.
if (the packet is a “SESS_INFO” message) then
 Create a route the sender of this packet (the route is used
 to send TCP ACK).
 Update local session information.
else
 Contact the routing agent to find the next hop node.
 Send the data to the next hop node.
 Send ACK to the sender of this packet.
end if