Many current applications for wireless networks are based on a static infrastructure and only operate within the range of access points to a wired network. The inflexibility of these hierarchical solutions yields problems like bottlenecks, limited scalability and congestions. In this paper we present the routing technique Stigmergy based on swarm-intelligence to share resources in wireless ad hoc networks. We present a simulation platform for Stigmergy which provides resource sharing where n resource requestors relate to m resource providers, with n,m ⩾ 1. It routes messages between one of the n resource requesting nodes and one of the m resource providing nodes.