Commit 7ffa8447 authored by jcaceres's avatar jcaceres
Browse files

Fix small couts

parent 514cc892
......@@ -511,10 +511,10 @@ StreamBD::ParseCommandLine (int argc, char *argv[])
if (argc > 1)
{ /* Copy remote hostname */
strncpy (args->localHostIP, argv[0], 99);
cout << "local hostname is " << args->
cout << "local IPv6 is " << args->
localHostIP << endl;
strncpy (args->remoteHostname, argv[1], 99);
cout << "remote hostname is " << args->
cout << "remote IPv6 is " << args->
remoteHostname << endl;
}
else if (argc > 0)
......@@ -538,7 +538,7 @@ StreamBD::ParseCommandLine (int argc, char *argv[])
if (argc > 0)
{ /* Copy remote hostname */
strncpy (args->localHostIP, argv[0], 99);
cout << "local hostname is " << args->
cout << "local IPv6 is " << args->
localHostIP << endl;
}
}
......@@ -642,10 +642,8 @@ StreamBD::EstablishConnection (runModeT runMode, char *hostname, UDPOutput * net
usleep (10000);
// cout << ".";
}
//**************JPC COMENTED OUT*******************
//cout << endl << "Connection received from: " <<
// netin->peer ().toString () << endl;
//*************************************************
cout << endl << "Connection received from: " <<
netin->peer().toString().latin1() << endl;
cout << "Requesting return connection....";
netout->connect (netin->peer ());
cout << "SUCCESS!" << endl;
......
......@@ -114,7 +114,7 @@ typedef struct cmdLineArgs
* audio output is buffered. */
char remoteHostname[100]; /*! Holds the hostname to connect to in TRANSMIT and HARPT mode. */
//###############################################################################################################
char localHostIP[100]; /*! Holds the IP to connect to in TRANSMIT and HARPT mode. */ //**IPv6*******
char localHostIP[100]; /*! Holds the IPv6 to connect to in TRANSMIT and HARPT mode. */ //**IPv6*******
//###############################################################################################################
int networkPortOffset; /*! Network port offset. */
int audioDeviceID; /*! Will use default audio device if not specified. */
......
......@@ -41,7 +41,7 @@ maxSeq (maxSeq)
prepareReaderWriter ();
dataLock = new QSemaphore (1);
cout << (*dataLock).available() << " FDF SDFJSDIF JSDFIJ DSIFJSDOI JOSI" << endl;
//cout << (*dataLock).available() << " FDF SDFJSDIF JSDFIJ DSIFJSDOI JOSI" << endl;
secondTry = false;
}
......
......@@ -62,7 +62,9 @@ InputPlugin ("UDP Input"), netInfo (netInfo), audInfo (audInfo)
*/
//**********************************************************
//#############################################################
cout << "IPv6 Local Address: " << ha->toString().latin1() << endl;//*****IPv6*************
//cout << "IPv6 Local Address: " << ha->toString().latin1() << endl;//*****IPv6*************
cout << endl << "UDPInput binding to " << ha->toString().latin1()
<< " port " << netInfo->getInPort () << endl;
//#############################################################
}
......
......@@ -65,7 +65,11 @@ audInfo (audInfo)
<< " port " << netInfo->getOutPort () << endl;
*/
//**********************************************************
cout << "IPv6 Local Address: " << ha->toString().latin1() << endl;
//#############################################################
//cout << "IPv6 Local Address: " << ha->toString().latin1() << endl;
cout << endl << "UDPOuput binding to " << ha->toString().latin1()
<< " port " << netInfo->getOutPort () << endl;
//#############################################################
}
void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment