I think I'm asking the wrong question. From what I understand, adhoc networks do not require any infrastructure (e.g. WLAN or LAN or Cellular Network). Devices with Bluetooth or Wifi should be able to form a self organising adhoc network without needing any infrastructure.
Correct.
From your previous posts it seems like openTrek does not currently support true adhoc networking as it requires the existance of a WLAN infrastructure or the use of LAN with with OpenServer. Have I understood you correctly?
Not correct. OpenTrek supports both modes. If you start OpenTrek on your Pocket PC you can change Networking DLL. If you choose the "ad hoc" DLL, OpenTrek will work in true "ad hoc" mode, without requiring any infrastructure. If you choose "server" mode, IP address information on all devices will be sent through a central server but communication will still be peer-to-peer.
If you use an ad hoc network - use the network driver "adhoc.dll"
If you use a wireless network with an access point - use the network driver "server.dll" and start OpenServer on one of your PCs.
Currently it's not possible to change the IP of the OpenServer machine through the OpenTrek GUI - to do so, please copy the file \OpenTrek\network\server.ini to your laptop, edit the IP, and copy it back to the device.
An example scenario, If I have two pocket pc on a camping trip in some remote mountain. WOuld openTrek allow me to connect the two devices together by forming an adhoc network to allow me to play a multiplayer game? If Yes, how would you set the pocket pc's up to do so.
Yes, you use the "adhoc.dll" driver. BUT you still have to set up all the IP settings manually (IP address 192.168.x.y and subnet 255.255.255.0).
When developing OpenTrek it was my hope that Microsoft would incorporate something similar to Apple Rendezvous in Windows Mobile which would be really cool for mobile ad hoc networking. This would make OpenTrek a really cool platform to build on. Right now it's too much configuration to build an ad hoc network, which really makes OpenTrek most suitable for internal prototypes and demonstrators.