A queuing method and system for wireless/LAN routers processes and routes
an incoming data packet from a wireless mobile network to a destination
server. The system uses a wireless transport module to initiate storage
of the data packet in a permanent storage device while simultaneously
forwarding the data packet to the destination server. A database thread
is used to manage the operations being performed on the data packet and
for initiating the storage of the data packet in a permanent storage
device based on a permanent storage queue. A main thread is used to
simultaneously forward the data packet to the destination server. The
wireless transport module is adapted to determine whether the data packet
has been acknowledged by the destination server and aborting the storage
of the data packet in the permanent storage device once acknowledgment
from by destination server has been received.