testexecmgmt/ucc/Source/SocketLibrary/socket_helper.h
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 * Switches
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __SOCKET_HELPER_H__
       
    22 #define __SOCKET_HELPER_H__
       
    23 
       
    24 /*******************************************************************************
       
    25  *
       
    26  * Interface
       
    27  *
       
    28  ******************************************************************************/
       
    29 struct sockaddr_in getsockaddr( const char* ip, const char* port);
       
    30 int is_ip_address( const char* aAddr );
       
    31 int GetSocketError();
       
    32 
       
    33 #endif // __SOCKET_HELPER_H__
       
    34 
       
    35