sdkcreationmw/sdkruntimes/wsock/src/wsock.cpp
changeset 1 ac50fd48361b
parent 0 b26acd06ea60
equal deleted inserted replaced
0:b26acd06ea60 1:ac50fd48361b
     1 /*
     1 /*
     2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #define TRACE_PREFIX "WSOCK: "
    19 #define TRACE_PREFIX "WSOCK: "
   610     TRACE1("examining %S table...",&TableName);
   610     TRACE1("examining %S table...",&TableName);
   611     CCommsDbTableView* view = aDb->OpenTableLC(TableName);
   611     CCommsDbTableView* view = aDb->OpenTableLC(TableName);
   612 
   612 
   613     // We will need the list of networks and the agent ame
   613     // We will need the list of networks and the agent ame
   614     TBuf<KCommsDbSvrMaxFieldLength> networks;
   614     TBuf<KCommsDbSvrMaxFieldLength> networks;
   615     CWinsockProtocolFamily::ProtocolNames(networks);
   615     CWinsockProtocolFamily::ProtocolNamesfownetwork(networks);
   616 
   616 
   617     // Column names
   617     // Column names
   618     TPtrC IdColumn(COMMDB_ID);
   618     TPtrC IdColumn(COMMDB_ID);
   619     TPtrC NameColumn(COMMDB_NAME);
   619     TPtrC NameColumn(COMMDB_NAME);
   620     TPtrC APNColumn(GPRS_APN);
   620     TPtrC APNColumn(GPRS_APN);