×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2003
    Location
    Australia
    Posts
    38

    Enumerating AP Client Connections

    Hi,
    Can anyone confirm that the RConnection API to enumerate the number of clients of a connection actually works?
    I am using the following code but on experimentation i only ever get a connEnumBuf().iCount of 0, even if i have
    several applications open & actively using the same AP. Any help on this would be greatly appreciated.

    TConnEnumArgBuf connEnumBuf;
    connEnumBuf().iIndex = pIndex;

    TInt result = iConnection.Control(KCOLConnection, KCoEnumerateConnectionClients, connEnumBuf);
    if (result == KErrNone)
    {
    result = connEnumBuf().iCount;

    TConnGetClientInfoArgBuf connClientBuf;
    for (TInt j=0; j<result; j++)
    {
    connClientBuf().iIndex = j;
    if (iConnection.Control(KCOLConnection, KCoGetConnectionClientInfo, connClientBuf) == KErrNone)
    {
    TInt uid = connClientBuf().iClientInfo.iUid.iUid;
    TInt process = connClientBuf().iClientInfo.iProcessId;
    TInt thread = connClientBuf().iClientInfo.iThreadId;
    }
    }
    }

  2. #2
    Registered User
    Join Date
    Jul 2003
    Location
    Australia
    Posts
    38

    Re: Enumerating AP Client Connections

    Forgot to mention, I've been testing this on the Nokia 6600 & Nokia 6680.

  3. #3
    Registered User
    Join Date
    Jul 2003
    Location
    Australia
    Posts
    38

    Re: Enumerating AP Client Connections

    For anyone interested, it works on the Nokia N70 (even though the API has been marked as deprecated in Symbian 8.1)

Similar Threads

  1. http client, XML-RPC, and SOAP client libraries?
    By nawkboy in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2010-03-22, 13:33
  2. Nokia Mobile VPN Client
    By marcyl in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-12-01, 14:47
  3. Problems with Nokia 9210 SyncML client
    By arssi in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2003-05-28, 09:23
  4. Bluetooth multiple connections
    By esteinitz in forum Bluetooth Technology
    Replies: 2
    Last Post: 2003-05-05, 13:35
  5. 9210 client communication error (5011)
    By sglina in forum OMA DM/DS/CP
    Replies: 1
    Last Post: 2002-07-23, 08:24

Posting Permissions

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