minor bug fix if same client: client ip only 8 bytes instead of 16 bytes copied, added user class functionality for long term use:stopacquisition

This commit is contained in:
2017-10-12 10:18:15 +02:00
parent f2f061ae18
commit a59309b13f
3 changed files with 15 additions and 2 deletions

View File

@ -163,7 +163,7 @@ int receiverInterface::getLastClientIP(int fnum, char retval[]){
dataSocket->SendDataOnly(&fnum,sizeof(fnum));
dataSocket->ReceiveDataOnly(&ret,sizeof(ret));
dataSocket->ReceiveDataOnly(retval,sizeof(retval));
dataSocket->ReceiveDataOnly(retval,INET_ADDRSTRLEN);
return ret;
}