Hi all.
I'm implemented a midlet able to create a p2p multihop network based on Bt devices.
When application starts, the device search other devices into its range and then it create a connection with each one sending its routing table.
Then, the behaviour of the device corrisponding to be a server.
If I want to send a message, i push the button "SEND" on my device and i initialize a new connection to a device which behaviour is equal to a server.
PROBLEM: in this phase an exception occurs showing "Can't connect"
I' don't understanding this error!
After the phase in which a device communcate to others its routing table, i close all connections and streams. But when i want to send a message an exception occurs! Do you say me..WHY????
My code is at http://spazioinwind.libero.it/cgweb/java_source.zip
I hope somebody will help me.
Thanks!
Roberto

Reply With Quote

