Commit c9095b18 authored by garciay's avatar garciay
Browse files

Remove useless logs

parent 3dd0c3e8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ Socket::~Socket() {

int Socket::Send(const char *data, const int length) throw (std::string) {
  int nb_sent = send(m_socket, data, length, 0);
  std::clog << "Socket::Send: " << nb_sent << std::endl;
  //std::clog << "Socket::Send: " << nb_sent << std::endl;

  if (nb_sent == -1) {
    std::string err_msg("Unable to send data");
@@ -84,7 +84,7 @@ int Socket::Receive(const ssize_t buf_len, char * buf) throw (std::string) {
SocketClient::SocketClient(const std::string &host, const int port) throw (std::string) 
  :Socket()
{
  std::clog << "SocketClient::SocketClient: " << host << " - " << port << std::endl;
  //std::clog << "SocketClient::SocketClient: " << host << " - " << port << std::endl;

  std::string err_msg;
  sockaddr_in sa;