×

Discussion Board

Results 1 to 2 of 2

Thread: WinSock

  1. #1
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    WinSock

    Hi,

    anybody uses WINSOCK PLUG-IN for WINS for 7.0 Symbian(UIQ)? Are there any limitations? Does it emulate whole symbian network layer?? Or some classes dont work?

    Thanx for any answer from someone experienced...

    Bye
    STeN

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037
    Hi,

    as far as i understood there are some limitations, because the comm db is empty, so after establishing a connection I am not able to access "ConnectionPreferences" table to get informations about selected IAP: It always crash with -18 KErrNotReady error:

    // encapsulates some inportant parameters from Connection preferences table
    _LIT( KCommDbTable_ConnectionPreferences, "ConnectionPreferences" );

    TInt err = KErrNone;
    TUint32 dialogpref = 0;
    TUint32 direction = 0;

    if ( ( ( err = iAgent.GetActiveIntSetting( KCommDbTable_ConnectionPreferences, _L("CONNECT_PREF_DIALOG_PREF"), dialogpref ) ) == KErrNone ) &&
    ( ( err = iAgent.GetActiveIntSetting( KCommDbTable_ConnectionPreferences, _L("CONNECTION_PREF_DIRECTION"), direction ) ) == KErrNone ) &&
    ( ( err = iAgent.GetActiveIntSetting( KCommDbTable_ConnectionPreferences, _L("CONNECT_PREF_RANKING"), aPref.iRanking ) ) == KErrNone ) &&
    ( ( err = iAgent.GetActiveIntSetting( KCommDbTable_ConnectionPreferences, _L("CONNECT_PREF_BEARER_SET"), aPref.iBearer.iBearerSet ) ) == KErrNone ) &&
    ( ( err = iAgent.GetActiveIntSetting( KCommDbTable_ConnectionPreferences, _L("CONNECT_PREF_IAP"), aPref.iBearer.iIapId ) ) == KErrNone ) )
    {
    aPref.iDialogPref = ( TCommDbDialogPref )dialogpref;
    aPref.iDirection = ( TCommDbConnectionDirection )direction;
    return KErrNone;
    }
    else
    return err;

    Any comments?
    I am still not able to establish NT RAS connection as I wrote in http://discussion.forum.nokia.com/fo...threadid=59695 to use native symbian networking layer....

    Thanx STeN

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×