Socket problem with Poll

Feb 13 2007 6:46 AM
Hi,

I am trying to connect my PPC app to server running on PC, but after calling Connect on the Socket, Poll always returns an error:

if (this.serverSocket.Connected)
{
bool connectionError = this.serverSocket.Poll(-1, SelectMode.SelectError) ;
...


I am using ActiveSync 4.2 and my iPaq is connected via USB cable.
Could someone please tell me how to find out the exact cause of this error (where to find some error code etc)? Thanks.