/** \file
 *
 *  Contains the SocketClient class implementation.
 *
 *  Copyright (c) 2007,2008,2009 MBARI
 *  MBARI Proprietary Information.  All Rights Reserved
 */

#include "SocketClient.h"

SocketClient::SocketClient( const char* host, int port )
#ifndef __GAZEBO
throw( SocketException )
#endif
{
    Socket::create();
    Socket::connect( host, port );
}

SocketClient::SocketClient( const char* host, int port, int timeoutMillis )
#ifndef __GAZEBO
throw( SocketException )
#endif
{
    Socket::create();
    Socket::connect( host, port, timeoutMillis );
}
