Sending data between two computers on a wireless ad-hoc network should no different to sending data between two computers on a wired lan. You should be able to use the machines hostname or IP address and connect in the same way you would if it was not a wireless ad-hoc network.