/[svn]/linuxsampler/trunk/src/shell/LSCPClient.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/shell/LSCPClient.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2515 by schoenebeck, Wed Feb 5 20:45:18 2014 UTC revision 2517 by schoenebeck, Fri Feb 7 19:53:09 2014 UTC
# Line 44  bool LSCPClient::connect(String host, in Line 44  bool LSCPClient::connect(String host, in
44      addr.sin_port = htons(port);      addr.sin_port = htons(port);
45      if (::connect(hSocket, (sockaddr*)&addr, sizeof(addr)) < 0) {      if (::connect(hSocket, (sockaddr*)&addr, sizeof(addr)) < 0) {
46          std::cerr << "Error: Could not connect to host \"" << host << "\".\n";          std::cerr << "Error: Could not connect to host \"" << host << "\".\n";
47            std::cerr << "Is linuxsampler running and listening on port " << port << " ?\n";
48          disconnect();          disconnect();
49          return false;          return false;
50      }      }

Legend:
Removed from v.2515  
changed lines
  Added in v.2517

  ViewVC Help
Powered by ViewVC