Problem with Socket EndReceiveFrom Method

  • Thread starter Thread starter rbolos
  • Start date Start date
R

rbolos

Hello,

I have a socket application Client-Server.

The server side resides on PC and client size resides on PDA.
The PDA has two adapters. PPP1(ActiveSync) and SD WIFI CARD.
The PDA OS is Pockect PC 2002 with all updates of provider (SDIO, ROM,...)

Well i´m having some troubles. Both adapters are sending packets correctly
through BeginSendTo method to Server. But they aren´t receiving data from
the server, when server send messages to PDA. (EndReceiveFrom).

The code is the same for Client and Server.

If i run the same codes over two PC, send and receive works correctly.

I think that the problem is the Operating System of PDA,...But i'm not sure.

Anyone can help to me?

Thanks in advance
 
So, this is a datagram socket, not a stream socket? Are the sends and
receives to a specific IP address or to a multicast group?

I've never seen a problem with packets being lost all the time with Windows
CE, so I'd be surprised if it was the OS. Your code could be wrong or there
might be a problem with the .NET CF.

Are you using .NET CF 1.0SP3? Do the subnet masks on the PC and the PPC
match? Is the PPC using DHCP to get its IP address or is the address
assigned statically? Post a simple example that tries to receive packets
from your server here, so that we can try it.

Paul T.
 
Dear Paul,

Thanks for your opinions. But the probles has benn resolved.

The problem was with Access Point.

Thanks.
 
Back
Top