Communication between 2 PDA's

HARRY

Active Member
Licensed User
Longtime User
Hi,

I need to create communication between 2 PDA's via a data connection, so no LAN. Say a server/client combination to be used in the country field. In both PDA's the WiFi is disabled and a Data connection is created and enabled. Each time the client connects, the server will supply some information.

I tried to realize that using the Network library and the sample code provided with the HELP information.

Using the AdaptorsInfoDemo program I find the IP of the Server and use that in the Client with the .connect method. Ultimately, the Client PDA will ask the Server PDA for the IP via MSM at the start of a session, which may exist for a long time..

While testing, I get the error message: " No connection could be made because the target machine actively refused it".

Am I doing something wrong?

Is it anyhow possible, what I try?

Does another method exist to realize what I need to.


Harry
 

HARRY

Active Member
Licensed User
Longtime User
Erel,

Reading the Chit-Chat documentation found on this forum, I get the impression that a PEER-to-PEER connection is required. There, it is illustrated how such a connection can be set up in WM 2003. But I cannot reproduce that on my WM 6.5 device. Is PEER-to PEER connection no longer supported?

Harry
 

HARRY

Active Member
Licensed User
Longtime User
Erel,

I stop this exercise and will implement another solution. I will use the FTP library. The Server will send the data as a small file an FTP server on regular intervals; the Client will read the data when it need those from the FTP server. For the application this solution is acceptable and I happen to have free access to an FTP-server..

Harry
 
Top