none
Sim Card connection failed RRS feed

  • Question

  • Hi all,

    I have a problem with connection via sim card.

    I write stand alone exe application which know to download some data from server via socket connection.

    I have a strange problem with sim card communication.
    I want to describe 3 flows( 2 succeeded and 1 failed)

    1) WM 6.1 device connect to PC with Active Sync: Application succeed to download data from server.
    2) WM 6.1 device have sim card communication( not connect wityh AS to PC) on device open browser(e.g. IE). Application succeed to download data from server.
    3)WM 6.1 device have sim card communication( not connect wityh AS to PC) on device not open any browser. Application failed to download data from server.

    Failed function is connect(winsock2.h )

    return error is   SOCKET_ERROR

    example code:

    if(connect((SOCKET)aSocket, (struct sockaddr*)&target, sizeof(target)) == SOCKET_ERROR)
       return ERROR;


    Any ideas ?

    Thanks a lot.





    Evgeny Litver
    Monday, January 12, 2009 3:21 PM

Answers