×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    83

    Determine the Active Interfaces Count

    Hello,

    I want to know how much interfaces a have that i could use to estabilish a connection. I tried to use the RConnection::EnumerateConnections(), but it returns to me 0 at the emulator, even if it has a winsock connection.

    Does anyone knows how can i discovery how many interfaces i have so that i could use this information on setting my prefered IAP connection?

    Thanks in advance,
    Vitor.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Determine the Active Interfaces Count

    You can try the socket-option-magic of KSoInetEnumInterfaces,KSoInetNextInterface,TSoInetInterfaceInfo + KSoInetIfQueryByName,TSoInetIfQuery where TSoInetIfQuery::iIsUp may help you.
    Check Madsum's post in http://discussion.forum.nokia.com/fo...ad.php?t=54226 you need something like that.

  3. #3
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    83

    Re: Determine the Active Interfaces Count

    I am sorry, i do explained myself wrong.

    What i want is to know how much IAPs i can use on my App.

    Thanks,
    Vitor.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Determine the Active Interfaces Count

    Then you need the CommDb. Search for it in the Wiki. However if you search for CCommsDbTableView, you will find some additional/different hits (I have not checked thoroughly, but some sympatethic hits are missing if you search for CommDb).

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Determine the Active Interfaces Count

    APEngine API sounds like a better option.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  6. #6
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    83

    Re: Determine the Active Interfaces Count

    Well, your solution worked wizard_hu_! Thank you very much!!

Similar Threads

  1. Replies: 8
    Last Post: 2008-04-08, 20:58
  2. Replies: 4
    Last Post: 2007-11-26, 13:41
  3. Replies: 2
    Last Post: 2007-10-05, 20:40
  4. Active objects in EXE second thread
    By inguvaseshu in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-08-10, 05:35
  5. Active Object hogs active scheduler.
    By FloydFan in forum Symbian
    Replies: 4
    Last Post: 2005-09-29, 06:32

Posting Permissions

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