/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
class CTcpSocket : public CCommonSocket<tcp_socket_t>
{
public:
- CTcpSocket(const CStdString &strHostname, uint16_t iPort) :
+ CTcpSocket(const std::string &strHostname, uint16_t iPort) :
CCommonSocket<tcp_socket_t>(INVALID_SOCKET_VALUE, strHostname),
m_iPort(iPort) {}
class CTcpConnection : public CProtectedSocket<CTcpSocket>
{
public:
- CTcpConnection(const CStdString &strHostname, uint16_t iPort) :
+ CTcpConnection(const std::string &strHostname, uint16_t iPort) :
CProtectedSocket<CTcpSocket> (new CTcpSocket(strHostname, iPort)) {}
virtual ~CTcpConnection(void) {}
};